I need help with a javascript I have in a game i’m making. In the script it states that if the player scores 100 points it will load another scene. I need something in the script that loads the scene 5 seconds AFTER the player scores 100 points. Here is the script:
#pragma strict
function Update()
{
if(score.points == 100)
{
Application.LoadLevel(1);
}
}