wait(60) Function = Game.Players.Team Team = ReallyRed end
Im trying to make a script that changes players team to read every minute and then back to blue every 3 minutes.
lol no it wont work @dudemanjude
while true do wait(60) for i, v in pairs(game.Players:GetPlayers()) do v.TeamColor=BrickColor.new("Bright red") end wait(180) for i, v in pairs(game.Players:GetPlayers()) do v.TeamColor=BrickColor.new("Bright blue") end end
Try this:
game.Players.PlayerAdded:connect(function(player) while true do wait(60) player.TeamColor = BrickColor.new("") -- Put the color of the red team here in the quotes wait(180) player.TeamColor = BrickColor.new("") -- Put the color of the blue team here in the quotes end end)
That should work and if it doesn't then comment on this answer. I hope that helps!