GUI.Label only showing variable name not value

Whenever i play the game it just shows currentHealth in the top left corner, which is the name of the var in stead of the actual value. As i am pretty horrible at coding, is there anyone smarter out here that can fix this code?

#pragma strict

var currentHealth : float = 100;
var MaximumHealth : float = 100;

var PlayerAlive = 1;

function Start ()
{
if (currentHealth > MaximumHealth)
	currentHealth = MaximumHealth;


}

function ApplyDamage (damage : float) {
 
    currentHealth -= damage;
    Debug.Log("Hit!");
 
    if (currentHealth <= 0.0) {
       Application.LoadLevel("0");
     
    }
 
}
 
function OnGUI()

{

  GUI.Label(Rect(0,0,100,100), "currentHealth");

}

GUI.Label(Rect(0,0,100,100), currentHealth);

Take out the " " around currentHealth so its not used as a String.

Get rid of the " at line 30. It should be:

  GUI.Label(Rect(0,0,100,100), currentHealth);

If you use “…” you’re creating a string, but if you don’t you’re referring to the variable with the same name. (currentHealth)