local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.Velocity = Target.HumanoidRootPart.CFrame.LookVector * 1 * Power + Vector3.new(0, 0, 5)
BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
BodyVelocity.Parent = Ball
game.Debris:AddItem(BodyVelocity, 1)
local TweenTable = {
Info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0),
Goal = {Velocity = Target.HumanoidRootPart.CFrame.LookVector * 1 + Vector3.new(0, 0, 5)}
}
local Tween = TweenService:Create(BodyVelocity, TweenTable.Info, TweenTable.Goal)
Tween:Play()
Ground pass
I need help scripting when I pass the ball it goes into the air a little ball than moves around 5 units like it supposed to be. I want the ball to roll on the floor and not go in the air at all. Anybody have a fix or good velocity for this.