1 | game.Players.PlayerAdded:connect( function (player) |
2 | while true do |
3 | wait( 60 ) |
4 | player.TeamColor = BrickColor.new( "Bright yellow" ) |
5 | wait( 180 ) |
6 | player.TeamColor = BrickColor.new( "Bright blue" ) |
7 |
8 | end |
9 | end ) |
I don't know how to make my script repeat it self over and over. Can somebody help me?
That is correct, below is the code for a loop.
1 | while true do |
2 |
3 | end |