What i’m trying to achieve
I’m currently making a day/night system for one of my projects and after finishing tempature scaling and whatnot i’m moving onto making the ambience scale with ClockTime alot like this
I used up my whole brain to come up with a solution for your problem. I’m sure there are different ways of doing this, but I came up with this formula. Hope it helps!
local clockTime = game.Lighting.ClockTime
local color3valueR = 129-(math.abs(clockTime-12)/12*129)
local color3valueG = 129-(math.abs(clockTime-12)/12*129)
local color3valueB = 40-(math.abs(clockTime-12)/12*40)
game.Lighting.Ambient = Color3.fromRGB(color3valueR, color3valueG, color3valueB)