i can't figure out whats wrong

it keeps saying NullReferenceExeption when ever i try to shoot

var speed = 3.0;
var rotateSpeed = 3.0;
var BullitPrefab:Transform;
private var dead = false;

function OnControllerColliderHit(hit : ControllerColliderHit) //onTriggerEnter 1 collider
{
    if(hit.gameObject.tag == "fallout")
    {
        dead = true;
        //subtract life here
    }
}

function Update()
    {
        var controller : CharacterController = GetComponent (CharacterController) ;

        // Rotate around y - axis
        transform.Rotate (0, Input.GetAxis ("Horizontal") * rotateSpeed, 0) ;

        //Move forward / backward
        var forward = transform.TransformDirection (Vector3.forward) ;
        var curSpeed = speed * Input.GetAxis ("Vertical") ;
        controller.SimpleMove(forward * curSpeed) ;

        if(Input.GetButtonDown("Jump"))
        {
            var bullit = Instantiate(BullitPrefab,
                                            GameObject.Find("spawnPoint").transform.position, 
                                            Quaternion.identity);
            bullit.rigidbody.AddForce(transform.forward * 2000);
        }
}

function LateUpdate()
{
    if(dead)
    {
        transform.position = Vector3(0,4,0);
        gameObject.Find("Main Camera").transform.position = Vector3(0,4,-10);
        dead = false;
    }
}
@script RequireComponent(CharacterController)

need more information. where did it give you the error? As for a guess, it is possible you did not set the BullitPrefab.

i figurd it out. their was just something wrong with the spawn point that i was using.