So what you would have to do is add a whole lot of wall terrain so people can’t go out of bounds. Also, you can use teleporters at the end of the level, which moves the player to the lobby with all the levels.
You might want to check out this guide: