Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why does this script only acess one player instead of all the players?

I have script here:

for _, player in ipairs(game.Players:GetPlayers()) do
    player.Team = game.Teams.Eliminating

But whenever, this function is run, it only affects one player and the rest are not affected why?

1 answer

Where is the script placed Do you have filtering enabled on?

This discussion is preserved as it was. New answers, comments, and votes are closed.