How to detect if a parts color changed?

How do i detect if a parts color changed?

Try the Instance.Changed method. You can have a function fire when Color.Changed occurs.

1 Like

Check for the property through Changed event. Better if you use Instance:GetPropertyChangedSignal("Color").

https://developer.roblox.com/en-us/api-reference/function/Instance/GetPropertyChangedSignal

Usage:

Instance:GetPropertyChangedSignal("Color"):Connect(function()
    -- behavior for color changed
end)
3 Likes