How to make smooth, color changing Spotlights

I was looking around on the Forum and YT but couldn’t find any sources. All I would like is a way to make a Light color change from Really Red to Neon Orange smoothly. It’s a really simple script, but I don’t know how to code. Thanks for reading anyways!

You can use TweenService to achieve the effect you desire.

I can make some code to loop through a table of colors if you would like.

Although I won’t give you the script, I can tell you how I would lay it out.

First I would make an dictionary with the Colour3 value of each colour that you want to use. I.e

local Colours = {
       Red = Brickcolor.new("ReallyRed") --/We don't use Color3.fromRGB() here because the colour you want already exists as a brickcolour.
       Orange = Color3.fromRGB(--/ Insert your values here)
}

Once you have your dictionary, you can then make a script using TweenService that changes the colour of the light. If you have any further questions, feel free to reach out to me via PMs or any other means.

Please don’t mind if I got the function names wrong, I’m recalling all of this from memory.