#why is my script ignoring the wait(5)?
1 messages · Page 1 of 1 (latest)
because its mad at the wait(5)
wdym
your image is just blue
.
shitty ass code
ok.
thats so mean
local team = game.Teams.Marines
team.PlayerRemoved:Connect(function()
local players = team:GetPlayers()
local Laugh = game.StarterGui.Defeat
if #players < 1 then
print("Team is empty")
Laugh:Play()
local msg = Instance.new("Message", workspace)
msg.Text = "The aliens wiped out all life on the universe."
workspace.Sound:Stop()
task.wait(3)
msg:Remove()
workspace.Sound:Play()
for i, v in pairs(game.Players:GetChildren()) do
local char = v.Character
char:WaitForChild("Humanoid").Health = 0
v.Team = game.Teams.Marines
wait()
v.Team = game.Teams.Marines
wait()
v.Team = game.Teams.Marines
wait()
v.Team = game.Teams.Marines
wait()
v.Team = game.Teams.Marines
wait()
v.Team = game.Teams.Marines
wait()
more readable
i personally dont see a wait(5)
cant know shit without output or prints
THE SOUND IS SUPPOSED TO BE GHOTIC
use print() often
I ACCIDENTALLY PUTTED SOUND
it can tell u if ur code work or nah