im trying to delete the "coin" object in my game when it hits the "coin" object,im trying to delete a object when my play goes into my object "coin" its not working???

void OntriggerEnter(Collider other)
{
if(other.gameObject.CompareTag(“coin”))
{
Destroy(other.gameObject);
}

}

Time to get rich!

The “t” in OntriggerEnter here is lowercase. Make sure it’s capitalized like this:
OnTriggerEnter

simple use a volcano or a flamethrower maybe even the sun!!!