I want to respawn player to prefab. this is what i've got at the moment. What am I doing wrong?

var fallout : GameObject;

function OnControllerColliderHit (hit: ControllerColliderHit)
{
if(hit.gameObject.tag == “death”)
{
transform.position = fallout.position;
}
}

I think you have a script error here. Try changing fallout to:

var fallout : Transform;