Hello! I hope the person reading this is doing well.
Today while messing around with tween service and the skybox i decided to try out tweening the ‘MoonAngularSize’ from 11 to 0.
I was deceived though when i did so as it seems it was becoming smaller for an instant and then it came back to its normal size.
I couldn’t really find anything on this topic so i’d like to know; is it possible to tween the MoonAngularSize property?
Seems to not work still. Here is the block of code where it triggers.
local ts = game:GetService("TweenService")
local moon = game:GetService("Lighting"):WaitForChild("Sky")
local goal2 = {}
goal2.MoonAngularSize = 0
local moonTweenInfo = TweenInfo.new(
6,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)
local moonTween = ts:Create(moon, moonTweenInfo, goal2)
clickDetector1.MouseClick:Connect(function()
if not debouce then
debouce = true
task.wait(.5)
mdl:WaitForChild("Head").Sound:Play()
value.Value += 1
if value == 6 then
moonTween:Play()
end
clickDetector1:Destroy()
end
end)