Class · inherits ValueBase
BrickColorValue
A container object for a single BrickColor value.
About BrickColorValue
An instance which is used to store a BrickColor value.
Properties 1
Value
: BrickColorUsed to hold aBrickColorvalue.
Events 1
Changed
BrickColorValue.Changed:Connect(function(value))Fired whenever theBrickColorValue.Valueof the BrickColorValue is changed.Fired whenever the
BrickColorValue.Valueof theBrickColorValueis changed. It will run with the new value being stored in the argument object, instead of a string representing the property being changed.This event, like other changed events, can be used to track when an BrickColorValue changes and to track the different values that it may change to.
Equivalent changed events exist for similar objects, such as
NumberValueandStringValue, depending on what object type best suits the need.
BrickColorValue also has every member of ValueBase. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.