I want to be able to Constantly update a table of players. Though the script will not be ran at the start of the Game. So how do I get all players in the game, while updating it when players leave and join?
✓ ANSWER ACCEPTED
How Do I Constantly Update Players?
1 answer
✓ Accepted answer
At the time of creating the table loop through game:GetService("Players"):GetPlayers() and add each players name or whatever to the table or make the table = game:GetService("Players"):GetPlayers() at first. Then create a PlayerAdded event listener and every time someone joins add them to the table and then when someone leaves remove them from that same table. Hope this helps and have a great day scripting!
4 comments
0
Because you did not post or apparently attempt a script I will only give you some tips. I will not write any script for you.
0
My bad I am new to scripting helpers but I now know.
1
I say that was a better attempt on the answer than the question.
0
^ LMAO
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Where is your attempt? I'll happily help you. But I need to see the attempt.
Its not a major issue, just wanted to notify you about it.