local image = script.Parent
local tweenService = game:GetService("TweenService")
local originalPosition = image.Position
local originalRotation = image.Rotation
local floatHeight = 0.015
local floatTime = 4
local tiltAngle = 5
local tiltTime = 5
local floatTween = TweenInfo.new(floatTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true)
local floatGoal = {Position = UDim2.new(originalPosition.X.Scale, 0, originalPosition.Y.Scale - floatHeight, 0)}
local tiltTween = TweenInfo.new(tiltTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true)
local tiltGoal = {Rotation = tiltAngle}
tweenService:Create(image, floatTween, floatGoal):Play()
tweenService:Create(image, tiltTween, tiltGoal):Play()
Im new and im trying to animate my imageLabel to go up and down and tilt to the side as well as repeat, but the animation is very choppy aka not smooth at all.
** You are now Level 1! **