How can you choose which map you want to spawn? I'd like some help on that sort of advanced tech.
You just have some maps in a Model or Instance in Replicated Storage. I guess I can give you a head start on this. I have included some wiki articles in the bottom of this answer that might help.
EDIT: I noticed you wanted to pick a map that you wanted. This is simple as doing the example below.
Don't forget to make sure everything exist!
local Map = game.ReplicatedStorage:FindFirstChild("MAPNAME") function InsertMap() local map = Map:Clone() map.Parent = game.Workspace end
or you can do a random map as so:
local Maps = game.ReplicatedStorage.Maps:GetChildren() --Make sure you know what this means! function RandomMap(maps) local ChosenMap = maps[math.random(1, #maps)]:Clone() ChosenMap.Parent = game.Workspace end RandomMap(Maps)
http://wiki.roblox.com/index.php?title=API:Class/Instance/GetChildren http://wiki.roblox.com/index.php?title=Table http://wiki.roblox.com/index.php?title=Random_numbers
Don't forget to mark this as solved and as the correct answer!