#what does the circled bit do?
18 messages · Page 1 of 1 (latest)
wdym
players is an table that haves all the player with a numeric index
like
[1] = Player1;
[2] = Player2;
and you're doing for i = 1 (starting for index 1), #players (the length of the table), and that just is checking if the character is nil
and getChildren is bad written, is GetChildren
true
and the service "Players" has :GetPlayers
even truer
Also getChildren() should be capital: GetChildren()
I would suggest doing a foreach loop here tho
For _, plr in players do ... end