Guys, here i will provide sample code to introduce my issue
local Box = workspace:WaitForChild("Box")
local TweeningService = game:GetService("TweenService")
local Info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0, false)
local PointPoses = {
Box.Position+Vector3.new(0, 5, 0),
Box.Position+Vector3.new(7, 8, 0),
Box.Position+Vector3.new(15, 15, 0),
Box.Position+Vector3.new(18, 24, 0)
}
wait(2)
for i,pos in ipairs(PointPoses) do
local goal = {Position=PointPoses[i]}
local anim = TweeningService:Create(Box,Info,goal)
anim:Play()
anim.Completed:Wait()
end
after each time animation is completed, game is doing little delay before going forward, how can i fix this?