BodyColor (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Properties}} <onlyinclude>{{Property |name = <bodypart>Color |property = BrickColor ''Body part color'' |description = Set the color of the body part, s...")
 
No edit summary
Line 18: Line 18:
colors.RightArmColor = BrickColor.new(1)
colors.RightArmColor = BrickColor.new(1)
end
end
</pre
</pre>


[[Category:Properties]]
[[Category:Properties]]

Revision as of 07:26, 23 June 2020


Property
Name <bodypart>Color
Property BrickColor Body part color
Description: Set the color of the body part, such as HeadColor.
In 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