g = game.Players:GetChildren()
for i = 1, #g do
if g[i]:IsA("Player")
then
g[i]:LoadCharacter()
end
end
error: LoadCharacter can only be called by the back end server
it's a normal script in workspace
g = game.Players:GetChildren()
for i = 1, #g do
if g[i]:IsA("Player")
then
g[i]:LoadCharacter()
end
end
error: LoadCharacter can only be called by the back end server
it's a normal script in workspace
Im just gonna give you a better performance loop..
for i,v in next,game:GetService("Players"):GetPlayers() do --make a table and get the data inside
if v then -- check
v:LoadCharacter()
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Sorry I didnt use your for i loop.. but I honestly hate them.