For some reason this loop doesn't seem to be breaking. Help!
while true do
wait(3)
contestants = {}
while #contestants < 3 do
status.Value = "Waiting For Players"
for _, player in pairs(game.Players:GetPlayers()) do
if player and player.Character then
local humanoid = player.Character:WaitForChild("Humanoid")
if humanoid and humanoid.Health > 0 then
table.insert(contestants, player)
end
end
if #contestants >= 3 then
break
else
end
end
end
end
