made it so when a player reaches the end of the level it resets the scene