function onTriggerEnter(other : Collider){ if(other.tag == “Player”){ } }
change function to void, change onTrig… to OnTrig… change (other: Collider) to (Collider other)