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

Can somebody fix this script? It won't generate, nor bring up the map voter. It won't do nothing.

Asked by 11 years ago

Here it is, good luck please help me with it. The problem is that nothing will run. Literally nothing.

001Maps = {"Wobbly Bridge","Tower Of Magic"}
002 
003Time_Per_Round = 60
004 
005HowLongMessageLasts = 5
006 
007HowLongVotingPeriodLasts = 15
008 
009MessageToBeStated = "Seconds Left: "
010 
011Option = 1
012 
013COLOR = 1
014 
015function Op1()
View all 179 lines...

1 answer

Log in to vote
-1
Answered by 11 years ago

Ok, for minigame scripts like this, dont use _G. And have you put the Maps in lighting?; If you havent done that, of course nothing will work.

and for messages, use this:

1msg = Instance.new("Message")
2msg.Parent = nil
3msg.Parent = game.Workspace
4msg.Text = "Choosing Minigame."
5wait(3)
6msg:remove()

Try this :D

For map pickers use this:

1local m = math.random(1,4)
2if m == 1 then
3game.Lighting.Minigame1:clone().Parent = game.Workspace

the local m = math.random(1,4) ----- This is how many minigames are in the game. Maps must be in lighting, and be named Minigame1, Minigame2, etc.

0
That ruins almost everything in the script.... I have to literally delete almost everything I did and connect it to that. Wrongmistake 0 — 11y
Ad

Answer this question