How do I make a randomly generated map?

So lets say for example I make like a few rooms that would be named Room1, Room2, Room3…
How could I make it so that a script can piece together these rooms to make a randomly generated map each time a new server opens?

1 Like

One of the methods are that you put all the maps in a folder. Put the folder in ReplicatedStorage. Then you make a script that generates a random number and use the index to choose a random map from that folder. Clone the map that was chosen and place it in Workspace. If ya need more help just ask.

1 Like

Thanks a lot, all is working fine now.

1 Like