Player Respawn affter 3 scenonds?

here is my script i want to know how to make him respawn affter 2 seconds?

using UnityEngine;
using System.Collections;

public class LevelManager : MonoBehaviour {

public GameObject currentCheckpoint;

private PlayerController player;

// Use this for initialization
void Start () {
	player = FindObjectOfType<PlayerController> ();

}

// Update is called once per frame
void Update () {
}
public void RespawnPlayer()

{
	Debug.Log ("Player Respawn ");
	player.transform.position = currentCheckpoint.transform.position;
}

}

Don’t work in Update…
The fastest way is to use Invoke.

In Start()

call

Invoke("RespawnPlayer", 3);

If you want to use Coroutines, change your RespawnPlayer to :

IEnumerator void RespawnPlayer()
 
 {
     yield return new WaitForSeconds(3);

     Debug.Log ("Player Respawn ");
     player.transform.position = currentCheckpoint.transform.position;
 }

and call it from Start():

StartCoroutine("RespawnPlayer");