When I run my game it works first, But after a while I get this error:
Error E1513
Script crash in goal: SYS
I don't understand that error!

This is the code that's in the action
goal:
action goal(){
var range=10;
while(1){
if (playerCar.x>my.x-range && playerCar.x<my.x+range){
level_load("leve2.wmb");
}
wait(1);
}
}
What's wrong? :C