(my first post)
I've been trying to make a image label spin like in that FNF Hypno's Lullaby mod, but when i try to do it, it looks hella ugly. Is there any way around this or making this not have this ugly tweening
function movePendelum()
task.spawn(function()
while true do
local speed = script:GetAttribute("speed")
task.wait(speed/2)
TweenService:Create(Pendelum, TweenInfo.new(speed/2, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, false, 0), {Position = UDim2.new(0.5, -118,0, -34),Rotation = 45}):Play()
task.wait(speed/2)
TweenService:Create(Pendelum, TweenInfo.new(speed/2, Enum.EasingStyle.Circular, Enum.EasingDirection.InOut, 0, false, 0), {Position = UDim2.new(0.5, 118,0, -34),Rotation = -45}):Play()
end
end)
end
video examples: https://vimeo.com/657963307 https://vimeo.com/657964424

4 comments
Maybe try using a different easing style?
use EasingStyle Linear perhaps?
EasingStyle is not the issue here, if you look closely on the video you can see how the rope just unnaturally goes uppwards and NOT like the lullaby mod
just make sure the anchor point of the pendulum is the same position at the start and the end (The GUI pendulum too)