Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a random map chooser?

I am making a game kinda like Murder Mystery, Deathrun and need a script which when this clock gui runs out of time, it picks a random map from ServerStorage. I am a mediocore scripter and know how to edit it, so if anyone knows how to make one that just picks a random map.

2 comments

0

Please do not simply demand code.

0

No, just wondering what things would I need to ad to it to make it random

1 answer

✓ Accepted answer

Made this myself.

a = Instance.new("Message",Workspace)
a.Text = ("Loading Map..")
wait(5)
game.ServerStorage.MAPNAME:Clone().Parent = game.Workspace
wait(0.1)
a:remove()
wait(20)
game.Workspace.MAPNAME:remove()
wait(0.1)
a1 = Instance.new("Message",Workspace)
a1.Text = ("Loading a map...")
wait(0.1)
game.ServerStorage.MAPNAME:Clone().Parent = game.Workspace
a1:remove()
wait(20)
game.Workspace.MAPNAME:remove()


But next time, please dont demand code, and it would be nice if you give credit for helping. -ashpokeman5

This discussion is preserved as it was. New answers, comments, and votes are closed.