Help with Union color changing script

Hello everyone so I’ve created a ceiling light and the light flickering works but the color changing doesn’t. How can I fix these?

https://gyazo.com/5d5477ab78e3afc47308875c06227bf6

CODE USED
image

In union properties there is a bool, can’t fully remember the name as I’m on mobile but I’m sure it’s something to do with Part Colour

1 Like

The union should have a property called ‘UseBrickColor’ or something of that sort. Make sure that’s enabled.

4 Likes

It’s name may have changed in an update since your post but it is currently called “UsePartColor”

1 Like