Weird lighting behavior at night

Hey developers, I’m currently experiencing an issue with my day and night script which is causing really weird behavior at certain points during the night. At around clock time 19-20 the lighting of my game seems to go from dim to bright in a single tick.

Bug example:
https://gyazo.com/999799758605b6443c2d901683071a41

Day and Night code:

local timeShift = .01
local waitTime = 1/30

local tweenService = game:GetService("TweenService")

while true do
	local toTween = game.Lighting.ClockTime+timeShift
	tweenService:Create(game.Lighting,TweenInfo.new(waitTime,Enum.EasingStyle.Quad,Enum.EasingDirection.In),{ClockTime = toTween}):Play()

	wait(waitTime)
end

Lighting properties:
image
image

I’ve tried everything in my power (at least I think so that’s why I’m here) to resolve this but nothing seems to be doing the trick. I’ve tried deleting all lighting descendants, resetting lighting to default, and even removing all property changes in my day and night module to hopefully even notice a slight change but nothing. It’s super frustrating because I can’t tell if its an engine feature or if I’m using the lighting properties wrong? Any info would help thanks.

I think this is a problem on roblox’s end, srry
-don’t fully believe me on this because i barely know this myself ;-;

I’d try messing around with the settings in lighting.

I’ve already attempted to mess with the settings of all lighting properties and descendants. Nothing came of it

I’ve seen this issue before. I have made the brightness 0. To compensate for the brightness, the sky must be very bright.