Hi,
I am trying to make a part bounce and have the code below but when it runs the part movement jumps and not smooth?
local TweenService = game:GetService(“TweenService”)
local MyPart = script.Parent
local tweenInfo = TweenInfo.new(
1.5, – Time
Enum.EasingStyle.Linear , – EasingStyle
Enum.EasingDirection.Out, – EasingDirection
-1, – RepeatCount (when less than zero the tween will loop indefinitely)
true, – Reverses (tween will reverse once reaching it’s goal)
0 – DelayTime
)
local NewPosition = MyPart.Position + Vector3.new(0, -5, 0)
local tween = TweenService:Create(MyPart, tweenInfo, {Position = NewPosition})
tween:Play()