local players = {""}
game.Players.PlayerAdded:connect(function(player)
local getPlayerNames = game.Players:GetPlayers().Name
table.insert(players, getPlayerNames)
wait(0.1)
print(table.concat(players, ", ")
end)
I am trying to make a table that holds the value of all of the player's names in the server, but the above code doesn't work. Can someone help me out?

2 comments
Line 4 is not necessary, all you need to do is change line 5 [table.insert(players,player.Name)].
ok thanks