Game Lab Malfunction

My student is making a game in the game lab and he says that every time that he runs this code it does not work. He is now frustrated with game lab. Any ideas as to what is wrong with the code?

Could you post the link to the project so we can see what the error is when it runs?