not working script?

so im using this script…

var timeLimit : float = 60; // 1 minute timer
var nextMap : String = "zone2"; // Change this to next level for each scene.
 
Invoke("NextMap", timeLimit);
 
function NextMap() {
    Application.LoadLevel(nextMap);
}

and it is flat out not working.
its on javascript, the scenes are loaded into the builder, why isnt it working?

I just tried the code, It worked fine.

I have had other problems similar to this after downloading from the asset store. It could be that.

Try create a new project and test the code.