I am using BodyPosition to create a jumping kind of effect for a projectile. And it works, but it takes the character to some random place around the map. Instead of holding the player airborne in the position they are. I have listed my code. I would appreciate some help!
local BP = Instance.new("BodyPosition")
BP.Parent = Char.HumanoidRootPart
BP.Position = Vector3.new(Char.HumanoidRootPart.Position)
BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
BP.P = 25000
BP.D = 100
