No response after respawn

hi, (( first sorry for my bad english ))

im using a first person controller as player .
when it hits a game object with tag “fallout” it is respawn correctly at the spawn point (a point in the middle of the air)

**but the problem is :**after respawning i cant move the player
its not falling , instead its floating in the air with no gravity response !
i can use the mouse to look around but there is no responsing to W A S D Keys

this is my code:

private var dead= false;

function OnControllerColliderHit(hit: ControllerColliderHit)

{

if (hit.gameObject.tag == “fallout”)

{ dead=true; }

}

var spawnHere : GameObject;

function LateUpdate()

{

if(dead)

  { 

  spawnHere = GameObject.FindWithTag("spawnPoint");

  transform.position = spawnHere.transform.position; 

  }

}

You are not setting the dead variable back to false. After dying the first time the player respawns every frame.

if (dead)
{
    spawnHere = GameObject.FindWithTag("spawnPoint");
    transform.position = spawnHere.transform.position;
    dead = false;
}