#why is my script ignoring the wait(5)?

1 messages · Page 1 of 1 (latest)

hollow wharf
earnest bridge
#

because its mad at the wait(5)

hollow wharf
topaz ingot
#

your image is just blue

ruby heart
hollow wharf
hollow wharf
#

dont ask why

#

task.wait(3)

topaz ingot
hollow wharf
rapid pivot
#

thats so mean

topaz ingot
#
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)

hollow wharf
#

i saw 3 as 5

#

dont ask why

rapid pivot
#

yo bro

#

what does output say?

topaz ingot
#

cant know shit without output or prints

hollow wharf
#

.

#

LMAO

#

DUDE

#

I FORGOT

#

TK WHA

#

IOWSKLA

#

DSJAK

rapid pivot
#

??

#

yo bro

hollow wharf
#

THE SOUND IS SUPPOSED TO BE GHOTIC

rapid pivot
#

use print() often

hollow wharf
#

I ACCIDENTALLY PUTTED SOUND

rapid pivot
#

it can tell u if ur code work or nah

hollow wharf
#

I SEE WHY IT ISNT WORKING

#

😭