Player Spawn problems

hey guts i want the player to yield/(wait spawning) for 5 secondes an than play how do i do that?? thanks

Use a Coroutine. It allows you to declare wait periods.

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.StartCoroutine.html?from=Coroutine

You can make something like this:

var isEnable : boolean = true;

function Update(){
    if (isEnable){
        //play
    }
}

function SetEnableOnTime(sec : int){
    yield WaitForSeconds(sec);
    isEnable = true;
}

So, set isEnable = false when respawn and call SetEnableOnTime(5)... An observation: yield WaitForSeconds cannot be called inside Update function.