Deleting Terrain Trees Dynamically

Hello,
I’ve been having this problem with my script which I don’t know how to solve. Basically I made a tree in blender then exported it into Unity. I then put a collider onto it and made it a prefab so I can apply the collider to the terrain trees. The collider is working fine however in the script it is not. I’m trying to make it when you hit the mouse 5 times the tree will disappear and the colliders. Here is my script

var health = 5; 
var Takedamage : boolean = false;

function OnTriggerEnter(other : Collider){
  if(other.tag == "Player"){
    Takedamage = true;
   
}
}
function OnTriggerExit(other : Collider){
  if(other.tag == "Player"){
    Takedamage = false;
    }
    }
function Update(){
 if(Takedamage){
  if(Input.GetButtonDown("Fire1")){
   health --;
    
   }
 }
 if(health == 0)
  Destroy (gameObject);
  }

It works fine just as a game object but it won’t work when it is a terrain tree. Is there a way to make the tree break when it is a terrain tree?

One of a few ways