BodyColor (Property)

From Goodblox Wiki
Revision as of 21:24, 23 September 2021 by Xyrafrost (talk | contribs)
Jump to navigationJump to search
Property
Name <bodypart>Color
Property BrickColor Body part color
Description: Set the color of the body part, such as HeadColor.
In Object: BodyColors


Example

local colors = game.Players.LocalPlayer.Character:FindFirstChild("BodyColors")
if (colors ~= nil) then
     colors.HeadColor = BrickColor.new(1)
     colors.LeftArmColor = BrickColor.new(1)
     colors.RightArmColor = BrickColor.new(1)
end