function checkSurvivorNumber()
local count = 0
local players = game.Players:GetChildren()
for i = 1, #players do
if players[i] ~= nil then
if players[i].TeamColor == BrickColor.new("Bright blue") then
count = count + 1
--Add GUI ("HintText")
print("Checking Survivors")
end
end
end
if count < 1 or count == nil then
time.Value = 0
for i = 1,#players do
if players[i].TeamColor == BrickColor.new("Bright red") then
game.Workspace.DebugOutput.Value = "Awarding Killer's points"
COMMUNITY QUESTION
Does this "checking people alive script" work?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Is that the entire script?
No
Line 15: Second statement. It should be count == 0