How can I make a better knockback system for combat

I want to make a knocback system similar to this one in the video: https://i.gyazo.com/911eb7ed7e3ab3c823ed3a59d58f5194.mp4

I tried making it with bodyvelocity but it didn’t seem smooth like this one
(I set networkowner and other stuff but still not smooth)

what should I do?

1 Like

local Character = game.Players.LocalPlayer.Character

local PlayerToPush = “Put Here The Part That you want to be pushed i suggest you put the HumanoidRootPart”

local Push = Instance.new(‘BodyVelocity’, PlayerToPush)
Push.MaxForce = Vector3.new(5000,5000,5000)
Push.Velocity = Character.HumanoidRootPart.CFrame.lookVector*28
game.Debris:AddItem(Push,0.3)

1 Like

Yes I tried with body velocity before but it didn’t seem smooth like I said in the post thanks tho

Have you tried methods such as tweening the max force?

1 Like

No what should I tween maxforce to?

Experiment with the value to tween up to, but tween the force back down to 0,0,0 in the end with a Quad style or something similar.