Here is a vid of the prob.
Here is the code
local tweenService = game:GetService("TweenService")
local char = script.Parent.Parent.Parent
local HumanoidRootPart = char:WaitForChild("HumanoidRootPart")
local pet = script.Parent
while wait() do
local goal = {}
goal.CFrame = HumanoidRootPart.CFrame + Vector3.new(5,1,5)
local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Back, Enum.EasingDirection.InOut)
print(pet.CFrame)
local tween = tweenService:Create(pet,tweenInfo,goal)
print(tween)
tween:Play()
end