game.Players.PlayerAdded:connect(function(player)
while true do
wait(60)
player.TeamColor = BrickColor.new("Bright yellow")
wait(180)
player.TeamColor = BrickColor.new("Bright blue")
end
end)
I don't know how to make my script repeat it self over and over. Can somebody help me?

2 comments
Uhm, it looks as if it should work fine..? What makes you think it doesnt work?
So Player will change teams forever?