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

Why did this script broke?

Asked by 9 years ago

I had this function changed and it broke.

function Game_Launch_Part_Two()
local Crossroads = game.Workspace.MinatureCrossRoadsChris
local spawns = Crossroads.spawns:GetChildren()
local t = 1
for k, f in pairs(Game.Players:GetPlayers()) do coroutine.wrap(function() 
local blcks = spawns[t]
f.Character.Torso.CFrame = CFrame.new(Vector3.new(blcks.Position.x,blcks.Position.y+3,blcks.Position.z))
f.Character.Humanoid.WalkSpeed = 0 
Sirenator:play()
Sirenator.Looped = true
wait(10)
Sirenator:stop()
Sirenator.Looped = false
C:play()
C.Looped = true
A.Text = "|Pirate Embassy| ~ Fifteen seconds to spread out before game begins ~"
f.Character.Humanoid.WalkSpeed = 16
wait(15)
Game.Lighting.BeginnerSword:Clone().Parent = f.Backpack wait(0.1)
if time < 2 then
    wait(1)
    time = time-1
    A.Text = "|Pirate Embassy| Time Left for Game:" ..time 
    end
    until time = 1
    Game_Launch_Part_Four()
end 
end
end)()
t = t + 1 if t > #spawns then t = 1 
end
end 
wait(.1)
Game_Launch_Part_Three()
end

Why did it break? :(

0
Have you tried checking the output? Thewsomeguy 448 — 9y
0
Is Sirenator defined? Shawnyg 4330 — 9y
0
Nevermind, I'll attempt a re-fix bymyself darn it. Overpride 0 — 9y

Answer this question