BodyColor (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
I'm going to start adding in examples to these functions.
>Daveleetow
Line 6: Line 6:
|}}
|}}


==Example==
i wont it to look nice
<pre>
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
 
</pre>

Revision as of 19:18, 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]]

i wont it to look nice