How to create multi-colored underglow?

I want to create a multi-colored underglow kit for my roblox car. Something like this:

I was thinking of UI gradients but it didn’t work. I want it to move to so yeahhhh… idk how it would work with pointlights or any type because I it to work with any care cuz i wanna share it :slight_smile:

1 Like

You can use the algorithm
math.acos(math.cos(x*math.pi))/math.pi
to create a rainbow effect, although idk that its fully what you’re looking for.

It’s not, but thanks for the rainbow part. i was thinking of multiple spot lights but I feel like that would take a lot of proccessing power