So, I have managed to setup checkpoint in my game and given the player an option to continue via UI that pops up over the paused game. (like in the image provided) however i was wondering how I would make the game automatically go back to the main menu when there were no restarts left. I have tried to achieve this using a "redirect" event observer, however this only allows me to achieve the desired effect once.