I’ve only found one post about this online, and it didn’t help at all. This is my code right now:
local LinearVelocity = Instance.new('LinearVelocity')
LinearVelocity.VelocityConstraintMode = Enum.VelocityConstraintMode.Line
LinearVelocity.LineDirection = char.HumanoidRootPart.CFrame.LookVector * 20
LinearVelocity.PrimaryTangentAxis = Vector3.new(1, 0, 0)
LinearVelocity.SecondaryTangentAxis = Vector3.new(0, 0, 1)
LinearVelocity.Attachment0 = char.HumanoidRootPart.RootAttachment
LinearVelocity.Attachment1 = char.HumanoidRootPart.RootAttachment
LinearVelocity.MaxForce = math.huge
LinearVelocity.Parent = char.HumanoidRootPart
I have no idea how to do this. I know it’s possible, since I’ve done it before, but I don’t remember how I did it. Any ideas??