BodyColor (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker m BodyColor moved to BodyColor (Property) |
>Blocco No edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Properties}} | {{CatUp|Properties}} | ||
{{Property| | {| | ||
name = | |{{Property| | ||
name = BodyColor | |||
|property = [[BrickColor]] ''Body part color'' | |property = [[BrickColor]] ''Body part color'' | ||
|description = Set the color of the body part, such as HeadColor. | |description = Set the color of the body part, such as HeadColor. | ||
|object = [[BodyColors]] | |object = [[BodyColors]] | ||
|}} | |}} | ||
|- | |||
| | |||
==Example== | ==Example== | ||
<pre> | <pre> | ||
Line 17: | Line 19: | ||
end | end | ||
</pre> | </pre> | ||
|} | |||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 21:30, 18 June 2010
| ||||||||
Examplecolors = 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 |