Really Simple iphone scripting question

I have just started using unity for the iphone and am currently going through a simple tutorial that someone made for the basic Unity engine (not the iphone engine). I have this simple script attached to my player object and while it moves fine and I get no errors when compiling the program my Gui.Label does not show up. I know I am doing something really stupid but I just cannot figure out what the problem is. Here is my code:

var playerLives: int;
var playerScore: int;
function Update () {

if (Application.platform == RuntimePlatform.IPhonePlayer)
{
x = iPhoneInput.acceleration.x;
transform.Translate(x,0,0);
}
else
{
x = Input.GetAxis(“Horizontal”);
transform.Translate(x,0,0);
}
}

function OnGui(){
GUI.Label(Rect(10,10,200,50),"Score: "+ playerScore);

}

Can someone please assist.

You need to capitalize OnGUI() properly.

Ahhhhh! I spent hours last night dealing with this (was on the google and this site trying to figure out where I went wrong). Thank you very much for catching this stupid mistake.

I’m just going to go cry in my corner. :cry: