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

How would you combine these functions? [closed]

Asked by 11 years ago

I recently created a script, and I need help combining the functions so they don't spam over, and over. I'd also like to know (If that's not the problem) What the error is to my script.

Here it is. On line 8 starts the functions:

001Maps = {"Wobbly Bridge","Tower Of Magic"}
002Time_Per_Round = 60
003HowLongMessageLasts = 5
004HowLongVotingPeriodLasts = 15
005MessageToBeStated = "Seconds Left: "
006Option = 1
007COLOR = 1
008function Op1() -- This is where the functions should be combined.
009    m = Instance.new("Message", Workspace)
010    m.Text = "Map Selected: ".. MAP .."!"
011    wait(3)
012    m:Destroy()
013end
014function Op2()
015    m = Instance.new("Message", Workspace)
View all 106 lines...

Closed as Not Constructive by evaera

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?