Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 8 years ago

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

Log in to vote
0
Answered by 8 years ago

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

Ad

Answer this question