i am not getting any errors but its not working tho
local ts = game:GetService("TweenService")
while wait(10) do
local clocktime = game.Lighting.ClockTime
ts:Create(game.Lighting,TweenInfo.new(10),{ClockTime=clocktime+12}):Play()
end
i am not getting any errors but its not working tho
local ts = game:GetService("TweenService")
while wait(10) do
local clocktime = game.Lighting.ClockTime
ts:Create(game.Lighting,TweenInfo.new(10),{ClockTime=clocktime+12}):Play()
end
Why would you use tweenservice for changing a value…
because its smooth
{random text so the reply contains enough characters}
There is no EasingStyle and no EasingDirection, maybe try putting those in the tweeninfo?
its not required, it works without
Maybe reference the Service instead of indexing?
local ts = game:GetService("TweenService")
local lighting = game:GetService("Lighting")
local info = TweenInfo.new(10)
while wait(10) do
local clocktime = lighting.ClockTime
ts:Create(lighting,info,{ClockTime=clocktime+12}):Play()
end
nope, not working
{random text so the reply contains enough characters}
Could it be because of it exceeding 24 in clocktime? Try setting your default clocktime to something like 5 and then see what happens?
If that still doesn’t work, not sure if you even tween the ClockTime property