Not Loading next level with OnTriggerEnter *Solved*

Hey so have a small problem, my game won’t enter the next level after I press the key specified and when I’m in the OnTriggerEnter

var enter : boolean;

function update(){
	if(enter == true){
		if(Input.GetKeyDown("e")){
			Application.LoadLevel(0);
		}
	}
}	

function OnTriggerEnter(col : Collider){
	if(col.gameObject.tag == "Player"){
		(enter) = true;
}
}

function OnTriggerExit(col : Collider){
	if(col.gameObject.tag == "Player"){
		(enter) = false;
	}
}

function OnGUI(){
	if(enter == true){
		GUILayout.BeginArea(Rect((Screen.width/2)-50, (Screen.height/2) , 100, 100));
		GUILayout.Label("E to escape");
		GUILayout.EndArea();
	}
}

I’m curious, don’t lines 13 and 19 give errors in the console? (enter) = false;

enter = false;

… or is your problem with Application.LoadLevel(0);

Make sure you have all your scenes in order in the Build Settings when using an index : Unity - Manual: Publishing Builds

OH, I see it now. You have got your Update function labelled incorrectly :

function Update() {
}

note the Capitol U in Update =]