So what I need is the ball to move some distance from the HumanoidRootPart’s look vector
but it always tween to the origin of the world why is this happening here is the script.
local TS = game:GetService("TweenService")
local player = script.Parent.Parent.Parent.Parent
local Root = player.Character:WaitForChild("HumanoidRootPart")
local info2 = TweenInfo.new(
4,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0,
false
)
local GOOOL = {
CFrame = Root.CFrame + (Root.CFrame.LookVector*7)
}
script.Parent.MouseButton1Click:Connect(function()
player.Character.Humanoid.WalkSpeed = 0
player.Character.Humanoid.JumpPower = 0
local ball = game.ServerStorage.fireball:Clone()
ball.Parent = workspace
ball.CFrame = Root.CFrame + (Root.CFrame.LookVector*5)
local tweeen = TS:Create(ball, info2, GOOOL)
tweeen:Play()
end)