VividNeon
|
  |
| Joined: 24 Apr 2012 |
| Total Posts: 1607 |
|
|
| 16 Jul 2014 04:31 PM |
I'm trying to get the player's arm to become the same color as his team. However, it's not working. Any help???
game.Players.LocalPlayer.Character:FindFirstChild("Left Arm").BrickColor = BrickColor.new(game.Players.LocalPlayer.TeamColor) |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 16 Jul 2014 04:33 PM |
| don't need BrickColor.new () because you're not creating a new brickcolor, but using a pre-existing one. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2014 04:34 PM |
| When you're setting variable 1 to 2, 2 doesn't need to be Brickcolor.new |
|
|
| Report Abuse |
|
|
VividNeon
|
  |
| Joined: 24 Apr 2012 |
| Total Posts: 1607 |
|
|
| 17 Jul 2014 10:46 AM |
| ugm. It da coolio tree! o: |
|
|
| Report Abuse |
|
|
Aaaboy97
|
  |
| Joined: 05 Apr 2009 |
| Total Posts: 6612 |
|
|
| 17 Jul 2014 10:48 AM |
Here's a simple snippet to do what you're trying
local player = Game:GetService("Players").LocalPlayer pcall(function() player.Character["Left Arm"].BrickColor = player.TeamColor end) |
|
|
| Report Abuse |
|
|