One suggestion: Have a Global for your level. 'On start of layout' setup whatever else needs to be configured, creating sprites, setting values, timers, etc, based on the level number. You can use a function for this (or not). At the end of the current timer, add one to the level counter, and 'Restart layout'.