whats wrong with this code

void OnTrigerEnter (Collider other) {
if (other.tag == “player”) {

		Destroy(other.gameObject);
	}


}

You have misspelled OnTriggerEnter.
You wrote OnTrigerEnter :slight_smile:

thanx bro