I need to kill bots when I shoot on them.I am not good on scripting, but I made my best.

here is my script i have wrote:

var Bullet Tag : Fbullet; var
gameObject : gameObject;

function start (){

if (Bullet.Transform =
BoxCollider(gameObject)) { if
(gameObject enabled = true);
gameObject enabled = false;
    } }

i have too many errors in that.
i need help