So i cannot print out all of the players names for some reason.
I have no clue how to fix this, it used to work but now it doesn’t.
(script in workspace)
local v = game.Players:GetChildren()
for i = 1, #v do
print(v[i].Name)
end
So i cannot print out all of the players names for some reason.
I have no clue how to fix this, it used to work but now it doesn’t.
(script in workspace)
local v = game.Players:GetChildren()
for i = 1, #v do
print(v[i].Name)
end
wait(5)
for i,v in pairs(game.Players:GetChildren()) do
print(v)
end
smthing like this?
The script starts before players have joined, add a task.wait(3)
before it.