Java code not working. LOST PROJECT

Okay so I was just making a game i spent alot of time on it and saddy i deleted it on accident so I was trying to type my long script over again and it is not working.
here is the code:

var Glock17   : GameObject;

var Glock17Aim	: GameObject;

private var ShowMenu = false;

private var Rank = 0;
private var Kills = 0;
private var EXP = 0;
private var Wave = 0;

function Start () {
	Glock17.SetActive(true);
	Glock17Aim.SetActive(false);
}

function Update () {

 	if(Input.GetMouseButtonDown(1)) {
	Glock17.SetActive(false);
	Glock17Aim.SetActive(true);
	}
	if(Input.GetMouseButtonUp(1)) {
	Glock17.SetActive(true);
	Glock17Aim.SetActive(false);
	}
	
	ShowMenu = true;
	if(ShowMenu == false) {
	if(Input.GetKeyDown ("space")) {
		ShowMenu = true;
	}
	}
	if(ShowMenu == true) {
	if(Input.GetKeyUp ("space")) {
		ShowMenu = false;
	}
	}
}
function OnGUI() {
	
	if(ShowMenu == true) {
		GUI.Box (Rect(0, 0, 640, 480), "Pop Up" );
		GUI.Box (Rect(0, 0, 640, 480), "Pop Up" );

		GUI.Box (Rect(0, 0, 150, 480), "Stats" );
		GUI.Box (Rect(0, 0, 150, 480), "Stats" );
		
		GUI.Box (Rect(200, 0, 130, 130), "" );
		GUI.Label (Rect(0, 0, 130, 130), "Wave:" + Wave );
	
	
	}
}

Some of the GUI stuff dont work. and the vars dont. Sigh
well thanks :frowning:

Most of your GUI Scripts are covering each other, like covering a piece of paper with another. You can use GUILayout, which organizes your GUI automatically. This is good because you will on have these overlapping errors.