Greetings, everyone. I was trying to do a script where it tweens the time of day to night. Sadly, it doesn't seem to work, how do I tween the time of day properly? Here is my current script:
elseif message == "!night" then
local tweenInfo3 = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)
local tween3 = teenService:Create(game.Lighting, tweenInfo3, {TimeOfDay = 0})
end

1 comment
I added that to the script later on, still didn't work. It is solved now tho. I used ClockTime instead of TimeOfDay and it is seeming to work, thank you for the response tho.