Simply dodge them. Wait() is a randomized 0 to your wait time in seconds for an enemy will spawn. Speed() is the enemy's walk speed Don't even think about setting the speed to 0 (for the OVERALL survival time to register, you need to have the wait time below 8 and speed above 4) BUGS: Gameover not showing up upon death;