Collapse Sidebar




The Color property determines the color of a part. If the part has a /BasePart/Material, this also determines the color used when rendering the material texture. If this property is set, /BasePart/BrickColor will use the closest BrickColor to the Color3 value.

Other visual properties of a part are determined by /BasePart/Transparency and /BasePart/Reflectance.

Code Samples

Character Health Body Color

This code sample colors a player’s entire character based on how much health they have. It generates a color based on their max health, then sets the color properties of objects within their character, removing any extra objects.