SkinColor (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Builder1010101
I cleared up my first stub. Please be a critic and tell me how I am doing everything wrong! :D I want to know how to clear up stubs right!
>Tenal
categorizing
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
</pre>}}
</pre>}}
The above example would make the Torso, Head, Right Arm, Left Arm, Right Leg, and Left Leg the [[BrickColor]] "Really red".
The above example would make the Torso, Head, Right Arm, Left Arm, Right Leg, and Left Leg the [[BrickColor]] "Really red".
[[Category:Properties]]

Latest revision as of 18:35, 13 April 2012

SkinColor
Property BrickColor BrickColor
Description Stores the color of the skin.
Member of Skin


Example

This would be copied in a LocalScript. The LocalScript would be in either the StarterGui or StarterPack.

Example
local skin = Instance.new("Skin")
skin.Parent = game.Players.LocalPlayer.Character.Torso
skin.SkinColor = BrickColor.new("Really Red")

The above example would make the Torso, Head, Right Arm, Left Arm, Right Leg, and Left Leg the BrickColor "Really red".