NullReferenceException: Object reference not set to an instance of an object

this is the jvs
and i can seem to find the thing to fix this error
pls i really need help on this
Thank u

var speed = 3.0;
var rotateSpeed = 3.0;
var bullitPrefab:Transform;

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

//Rotate aound 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(“spamnPoint”).transform.position, Quaternion.identity);
}
}
@script RequireComponent(CharacterController)

I think you need to put the GameObject.Find(“spamnPoint”) as a variable at the top? And then:

if (Input.GetButtonDown("Jump")){
spamnPoint = GameObject.Find("spamnPoint");
var bullit = Instatiate(bullitPrefab,spamnPoint.transform.position [...]

But I don’t understand the script and may be wrong.

This line is incorrect. You need to give is more information one where the error is, but I bet its that line.

var bullit = Instantiate(bullitPrefab, GameObject.Find("spamnPoint").transform.position, Quaternion.identity);
 }

You need to read up on GameObject.Find a little more, that should be in the start function. It is also not wrote correctly.

function Start () {
		hand = GameObject.Find("MonsterArm/Hand");
	}

this is what i am getting