FirstFirePosition1, 2, 3 and 4 are inside a model named FirstFirePositions. ubicated in a square, 1 is in top right corner, 2 in top left, 3 in bottom right, and 4 in bottom left.
problem: the object i need to tween tends to teleport from different positions insted of tweening to them for example, goes from 2 to 4, and then instead of going from 4 to 3, teleports to 2 and goes to 4 from there
script:
local TweenService = game:GetService("TweenService") local Info = TweenInfo.new(0.1) local goal = {} goal.CFrame = script.Parent.FirstFirePositions.FirstFirePosition1.CFrame local Tween = TweenService:Create(script.Parent.FireSpirit.Head,Info,goal) Tween:Play() while true do local Info = TweenInfo.new(50) local goal = {} goal.CFrame = script.Parent.FirstFirePositions.FirstFirePosition2.CFrame local Tween = TweenService:Create(script.Parent.FireSpirit.Head,Info,goal) Tween:Play() wait(50) local Info = TweenInfo.new(50) local goal = {} goal.CFrame = script.Parent.FirstFirePositions.FirstFirePosition4.CFrame local Tween = TweenService:Create(script.Parent.FireSpirit.Head,Info,goal) Tween:Play() wait(50) local Info = TweenInfo.new(50) local goal = {} goal.CFrame = script.Parent.FirstFirePositions.FirstFirePosition3.CFrame local Tween = TweenService:Create(script.Parent.FireSpirit.Head,Info,goal) Tween:Play() wait(50) local Info = TweenInfo.new(50) local goal = {} goal.CFrame = script.Parent.FirstFirePositions.FirstFirePosition3.CFrame local Tween = TweenService:Create(script.Parent.FireSpirit.Head,Info,goal) Tween:Play() wait(50) end