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?
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!