destroying object upon collision

im trying to collide with an object and add gold to my money system script and destroy it it is adding the gold now i need it to go away.
heres my script so far .

var gold : int = 20;

function OnControllerColliderHit(hit: ControllerColliderHit){
  if(hit.gameObject.tag == "Gold" ){
        moneysystem.Gold =++  gold ;

I don’t get what the other is but if you want to destroy the coin provided this script is attached to the character you could put


and if its attached to the coin its self put


Hope this helps!! :slight_smile: