I want to make a game like ROBLOX battle, except just a regular brickbattle. I have all my maps set up in Lighting, but how would I be able to randomly pick one and change through it every 10 minutes?
COMMUNITY QUESTION
Map Changer Tutorial plz???
1 answer
Make a table of the map models in the ServerStorage you want like so:
maps = {
"Map one",
"Super awesome donuts"
}
Then whenever you want a new map:
function newMap()
local map = game.ServerStorage[maps[math.random(1, #maps)]]:Clone();
map.Parent = game.Workspace;
map:MoveTo(Vector3.new(0,0,0)); -- Just if you want to position it in a certain spot
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
dem super awesome donuts