i am trying to make a frame with a list of the player names in it. since the max players is 20, there is 20 text labels named "P"..(Text label number)so like P1, P2,etc. i have a script to get the player names in the game, and set it to ONE of the text labels. instead, it sets a name to all of them. any help?
local frame = script.Parent
while true do
for i,b in pairs(game.Players:GetChildren()) do
for i,v in pairs (frame:GetChildren()) do
v.Text = b.Name
end
end
wait(5)
end
