for _, v in pairs(Players:GetPlayers()) do
table.insert(Settings.ALL_PLAYERS, v)
end
Settings.ACTIVE_PLAYERS = Settings.ALL_PLAYERS
-- Seperate module
for _, player in pairs(Settings.ACTIVE_PLAYERS) do
print(player)
local Character = player:FindFirstChild('Character')
print(Character) -- Prints nil
if Character then
Character.PrimaryPart.Anchored = false
end
end
Can the character of a player not be found if that player is stored inside a table?