Collider help (read description)

i am making a game were i have a board facing the camera in 2d format i am dropping balls down the side of this board, what i want to happen is the balls hit the bottom bored and destroy themselves(like Tetriz but when the blocks hit the bottom they destroy themselves)it works but when the balls hit each other they destroy each other please help. I am a noob so please dont make fun haha.

#pragma strict

function OnCollisionEnter(Collision : Collision){   
   
   if( Collision.gameObject.tag == "bubble")
   
   {
       Destroy(this.gameObject);
   }
}

PS: i also need to make a tally to this script in the future for every ball that hits the bottom it adds up bye 1 point. thanks guys

I think your tag is not being detected due to the way you initialise the Collision.

Try

#pragma strict
     
function OnCollisionEnter(col : Collision)//this function on ball
{
      if( col.gameObject.tag == "floor" ) //or whatever tag you use
      {
          Destroy(gameObject);
      }
}

You can place this function on anything which can collide and change the tag to check for whichever object collides with it. You can also destroy any object you choose with Destroy(), not just ones involved in the collision.

it all works i just had things mixed up thanks guys