|
| 27 Jan 2014 03:55 PM |
| Like if it's the team color is green And I want to change it to red In game, what is the script? |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2014 03:56 PM |
Define player, also this is just a general idea, you have to do the actual work.
if player.TeamColor == BrickColor.new"Bright green" then player.TeamColor = BrickColor.new"Bright red" end |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 27 Jan 2014 03:56 PM |
if player.TeamColor == BrickColor.new"(Bright green") then player.TeamColor = BrickColor.new("Bright red") end
Or, you could just edit the team colors in studio, unless you are trying to change them in-game. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2014 03:59 PM |
| ^That is exactly what I just wrote spammer. |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 27 Jan 2014 04:00 PM |
| Actually the parentheses were necessary, which you forgot, rager. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2014 04:00 PM |
| Parenthesis aren't necessary. |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 27 Jan 2014 04:01 PM |
--Define player, if it's just one person that gets changed every time, run this. local playername = "powertool" local teamcolor = "Institutional white"
game.Players.playername.TeamColor = ("teamcolor") |
|
|
| Report Abuse |
|
|