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

Wait function not working in this round script?

Asked by 6 years ago

I was trying to make a round script and so I have this in the script storage and it was not working if anyone could help that would be awesome. (here is the script)

----------vars--------------

local Wave = script.Parent.Parent.Parent.StarterGui.Main_Gui.Frame.Waves

local text

local mission = script.Parent.Parent.Parent.StarterGui.Main_Gui.Frame.Mission

local npc = game.ReplicatedStorage.communist

local spawner = game.ReplicatedStorage.communist

--------------script-----------------------

Wave.Text = ""

mission.Text = "Round 1 Starts in 3 minutes"

wait(1)

mission.Text = "round 1 Start"

wait(1)

mission.Text = "Round"

Wave.Text = "1"

wait(1)

local clone = npc:Clone()

clone.UpperTorso.CFrame = spawner.CFrame

clone.Parent = workspace

wait(20)

0
it should work. you just set the wait() wrong..? Elixcore 1337 — 6y
0
in the vars section you havent identified "local text" also if you want to make a round script you should add some loops l_337 15 — 6y
0
how?? marshmallowboi21 2 — 6y
0
first off what is this script for ? we have no idea what you want to do with npc and spawner(which are the same) add me and ill help you out l_337 15 — 6y

Answer this question