It would be a :Clone()
function doing most of the work. Here is a simple script that would work, if it happens your map is named "MapNameHere" :)
1 | map = game.ServerStorage.MapNameHere:Clone() |
2 | map.Parent = game.Workspace |
Here's how it works:
1. First we Clone()
the map from ServerStorage and set it in the variable "map"
2. Now we set the "map" variable's Parent to Workspace, copying the entire model to the 3D view
All you would need to do after this code is to surround it with other code such as loops and other functions. If you need two different maps, you can use a random number generator with copies of this code.