I just redid it, here is the new code for fall damage if anyone is interested. The player.SendMessage(“ApplyDamage”, FallDistance*10); line is sending a message to the player to call a function of applying damage. #pragma strict
var LastPositionY = 0;
var FallDistance = 0;
var player : Transform;
private var controller : CharacterController;
function Start()
{
controller = GameObject.Find(“Player”).GetComponent(CharacterController);
}