for _,v in pairs (game.Players:GetChildren()) do
delay(#playerss, function()
if v.Status.Value == "Vigilante" then
if #v == 0 then
workspace.Countdown.Value = 0
roundended = true
end
end
end)
end
I'm getting a problem with userdata values, is there any other way I can do this? I'm trying to find the amount of Vigilantes which are left, and if there is none, then the round ends and the countdown becomes 0.

1 comment
Thanks mate, that's something thinking about it I really should have thought of! :-)