BodyColor (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace Removed spam / re-added example. |
>Mindraker No edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Properties}} | |||
{{Property| | {{Property| | ||
name = <bodypart>Color | name = <bodypart>Color | ||
Line 15: | Line 17: | ||
end | end | ||
</pre> | </pre> | ||
[[Category:Properties]] |
Revision as of 10:28, 3 September 2008
[[<bodypart>Color (Property)|<bodypart>Color]] | |
Property | BrickColor Body part color |
Description | Set the color of the body part, such as HeadColor. |
Member of | [[RBX.lua.BodyColors (Object)|BodyColors]] |
Example
colors = game.Players.LocalPlayer.Character.BodyColors if (colors ~= nil) then colors.HeadColor = BrickColor.new(1) colors.LeftArmColor = BrickColor.new(1) colors.RightArmColor = BrickColor.new(1) end