Parsing error problem.

I have no idea how to fix it. Heres the code:

var WaitSeconds : int = 10;
var showGUI : boolean = false;
 
function Start ()
{
   WaitFunction();
}
 
function WaitFunction()
{
   yield WaitforSeconds (WaitSeconds);
   showGUI = true
}
 
function OnGUI () 
{
  if (showGUI == true)
  {
     GUI.Box (Rect (10,10,280,30), "To show the mouse press ESC button");
  }
}

You are missing a semicolon after showGUI = true.

Also - don’t know how I overlooked this - you’re using a keyword or class (not sure) as a variable name. Not allowed. You must change “WaitSeconds” to something like “secondsToWait” or “delay”.