Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to create a map changer? [closed]

Asked by 4 years ago

If you would like to make a map changer, here is what you need to do. First, create a map. Second of all, group the map. Then, make another map. Also group that map. Feel free to change the map names! Move all these maps to "ServerStorage". Then, create a script in "ServerScriptStorage." Now, put in this code:

local Map1 = game.ServerStorage.Map1 — — Change Map1 to the name of your first map
local Map2 = game.ServerStorage.Map2 — — Change Map2 to the name of your 2nd map
while true do
local MSG = Instance.new("Hint",game,Workspace)
MSG.Text = "Spawning Map1..."
wait(3)
MSG:remove()
Map1:Clone()Parent = game.Workspace
wait(5) — — Change 5 to how long you want the next map to spawn!
game.Workspace.Map1:remove()
local MSG = Instance.new("Hint",game,Workspace)
MSG.Text = "Spawning Map1..."
wait(3)
MSG:remove()
Map2:Clone()Parent = game.Workspace
wait(5) — — Change 5 to how long you want the next map to spawn!
game.Workspace.Map2:remove()
end

There you got it! Make sure the script is enabled.

0
Why did you just post a tutorial here exactly..? HeyItzDanniee 252 — 4y
0
If you want to post a tutorial, use the Guides section. sleazel 1287 — 4y

Closed as Not Constructive by sleazel, nekosiwifi, and killerbrenden

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?