Hio. I'm trying to get the output to print whether or not players are still alive or have died only once. Instead, it prints it repeatedly. I am using a server-side script for this.
--ROUND TIMER
for t = 120,0,-1 do --NORMAL TIME IS 120 SECONDS
RoundTimerText.Value = ("%d:d"):format(math.floor(t/60),t%60)
wait(1)
end
--Create a table of the current players playing for the SurvivorGUI later
for p = 1, #Players do
if Players[p].Character.Humanoid.Health == 0 then
print("Dead")
elseif Players[p].Character.Humanoid.Health == 100 then
print("Still alive")
end
end

2 comments
It is printing multiple times because you have several players, and it is printing for each player if they are dead or alive. I would not recommend looking at their health to see if they are dead or alive, because on
I've been testing this with Play Solo...