So there is a problem that I have run into and I can't seem to find a way around it. I know how to transfer the player from a layout to another layout once they touch the door but I don't know how to make it random.
For example
The player is on Level_1
Once he touches the door at the end of the level the player goes to Level_31, not Level_2
I want them to go randomly so its a different experience every time.
The levels are handmade not randomly generated just so I'm not confusing anyone. I don't want the levels to be randomly generated just want the player to go to a different layout randomly every time.
But I don't want the player to go back to the lobby so the layout must be Level_#. I just want the player to go to certain levels, not the lobby or main menu.
If I need to explain more just ask but I hope that's enough. I would really appreciate your help.