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)

4 comments

0

it should work. you just set the wait() wrong..?

0

in the vars section you havent identified "local text" also if you want to make a round script you should add some loops

0

how??

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