When I run my game it works first, But after a while I get this error:
Quote:

Error E1513
Script crash in goal: SYS


I don't understand that error! shocked
This is the code that's in the action goal:
Code:
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