Pretty simple.. I have this for do in pairs loop:
for i,v in pairs(_G.PlayerTable) do
if v ~= nil then
print(v)-- checking
_G.PlayerTable[v]:LoadCharacter()-- I want to respawn all the players in the table here, I didn't know what to do so i put that lol its wrong
break
end
end
I'm trying to reference all the players inside of my table, but I don't know how.
Can somebody show me what i'm doing wrong?

2 comments
Since you're looping through each value in the table, you can just do "v:LoadCharacter()" However, the break will make it so that it only loads one player since it breaks the loop so you can just remove the break.
But When I do that it says "MainScript:84: attempt to call method 'LoadCharacter' (a nil value)"