How would I use ApplyImpulse for knockback?

I was scrolling through forums on how to make a knockback with velocities, body velocity and force. I saw a forum that you shouldn’t use any, and should use ApplyImpulse, which I don’t know how it works.
So if anyone could explain to me how would I use apply impulse for knockback it will be insanely appreciated, Thanks!

You can achieve a knock back effect using ApplyImpulse by doing something like this

local backVector = -char.HumanoidRootPart.CFrame.LookVector
char.HumanoidRootPart:ApplyImpulse(backVector * 2500)

Use ApplyImpulse inside of a local script. ApplyImpulse takes a Vector3.new so if you’d like to use a different direction than simply replace.