NullRef error

NullReferenceException: Object reference not set to an instance of an object
follower.Update () (at Assets/follower.js:16)

var spawnPoints:Transform;
private var waypoint:Transform[];
private var mesafe:float=4;
private var sayac:int=0;
function Start(){


   var i=0;
   for(var child:Transform in spawnPoints){
       waypoint*=child;*

i++;
}
}
function Update(){

mesafe=Vector3.Distance(transform.position,waypoint[sayac].position);
//transform.LookAt(waypoint[sayac].position);
var relavitePos=waypoint[sayac].position-transform.position;
var rotation=Quaternion.LookRotation(relavitePos);
transform.rotation=Quaternion.Slerp(transform.rotation,rotation,Time.deltaTime*10);

transform.Translate(Vector3.forward/2);

if(mesafe<=7){
sayac++;

}
if(sayac>=waypoint.length){

sayac=0;

}
}
function OnTriggerEnter(nesne:Collider){
if(nesne.collider.name==“missile”){
Application.LoadLevel(“02”);
}
}

waypoint[0] is undefined, possibly because spawnPoints is null; add debug to Start() to confirm.