I want this day/night cycle to go normally. However, it doesnt go in the same direction! I have tried setting the tween values to 11.9, 12.1 and 0.1 to make one shorter and one longer but it hasnt worked.
local interval = 10
local twinfo = TweenInfo.new(interval,Enum.EasingStyle.Exponential, Enum.EasingDirection.In, 0, false)
local twinfo2 = TweenInfo.new(interval,Enum.EasingStyle.Exponential, Enum.EasingDirection.Out, 0, false)
local val = true
while wait(interval) do
if val then
val = false
game.TweenService:Create(game.Lighting, twinfo, {ClockTime = 0}):Play()
print("Playing to 2")
elseif not val then
val = true
game.TweenService:Create(game.Lighting, twinfo2, {ClockTime = 12}):Play()
print("Playing to 14")
end
end