BodyColor (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Outofspace
Removed spam / re-added example.
>Outofspace
Removed spam / re-added example.
(No difference)

Revision as of 19:32, 10 May 2008

link=<bodypart>Color (Property)[[<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