So, basicly i'm following TwinTornadoes tutorials, but my Health GUI wont change when falling off the platform, here's the scripts.

var speed = 5.0;

var rotateSpeed = 100; var bullitPrefab:Transform; private var dead = false;

function OnControllerColliderHit(hit : ControllerColliderHit)

{
if(hit.gameObject.tag == “fallout”)
{
HealthControl.LIVES -= 1;
dead = true;
}
}

and

var Health1:Texture2D; var Health2:Texture2D; var Health3:Texture2D; // Full

static var LIVES = 3;

function update () { switch(LIVES) { case 3: guiTexture.texture = Health3; break;

 case 2:
       guiTexture.texture = Health2;
 break;

 case 1:
       guiTexture.texture = Health1;
 break;

 case 0:
        //gameoverfunction
 break;

} }

What's wrong?

Do you have a collider tagged as "fallout" under your platform?