Is there a way i could stop the low gravity fall?

when i punch the dummy 3 times the dummy falls down in low gravity
is there a way to fix this? im using bodyvelocity

video: Watch Recording 2024-06-29 140037 | Streamable

here is the script sry if my code is messy

if click == 3 then
	ragdoll.Ragdoll(a,hit.Parent)
					local knockback = Instance.new("BodyVelocity",hit.Parent.HumanoidRootPart)
				knockback.P = math.huge
					knockback.Velocity = hitbox.CFrame.LookVector * 15
			
				knockback.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
				local track = hit.Parent.Humanoid:LoadAnimation(script.knockback)
				track:Play()

				game.Debris:AddItem(knockback,1)
					mathrandom = 10
					wait(3)
					ragdoll.Unragdoll(a,hit.Parent)
			end

Hello! Increasing the multiplier should increase the speed. As a side note, BodyVelocity is deprecated, and is replaced by LinearVelocity.

More information on LinearVelocity.

https://create.roblox.com/docs/reference/engine/classes/LinearVelocity

when i increase the multiplier it goes farther but i dont want that

i used linear and it works now

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.