Basically what I am attempting to do is create a function(set after other functions in the script) and use it to change everybodys' team color to blue. Unfortunately, the method I have been using seems to affect only the first person to enter the server.
for i,v in pairs(game.Players:GetPlayers()) do
v.TeamColor = BrickColor.new("Bright blue")--This is the team I want it to change to.
If you are wonder this Is in a function so it does run.
So I have two questions that depend on the answers of eachother.
Why did it only change the team color of the first person to enter.
If there is no apparent reason or it is simply the script, are there any alternatives I can use to fix it? I appreciate you help!

1 comment
Trying it out now.