generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: BrickColor help

Previous Thread :: Next Thread 
VividNeon is not online. 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 is not online. 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
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
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 is not online. VividNeon
Joined: 24 Apr 2012
Total Posts: 1607
17 Jul 2014 10:46 AM
ugm. It da coolio tree! o:
Report Abuse
Aaaboy97 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image