End Scene Script HELP!

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);
}
}

If all you want is a delay for 5 seconds, try this -

pragma strict
function Update() { 
    if(score.points == 100) {
    WaitForSeconds(5);
    Application.LoadLevel(1); 
    } 
}

Hi,
Maybe this is for you.

function MyWaitFunction()
{
while(number == 0)
{
yield WaitForSeconds(5);
Application.LoadLevel(1);
}
}
function Update()
{
if if(score.points == 100)
{
MyWaitFunction();
}
}