What do you want to achieve? The knockback to be smooth.
What is the issue? The movement of the affected character is super slow and then finally speeds up, making it look very buggy/jittery and overall unpleasant to look at.
The quality of the recording makes it look a bit smoother than it actually is ^
What solutions have you tried so far? I tried using all different types of knockback like assembly linear velocity, apply impulse, etc.
This is the current code:
function utilityFunctions:Knockback(Character,Target)
local charHRP = Character["HumanoidRootPart"]
local targHRP:Part = Target["HumanoidRootPart"]
local Look = CFrame.new(targHRP.Position,charHRP.Position).lookVector
local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.MaxForce = Vector3.new(4e4,0,4e4)
BodyVelocity.Velocity = Look * -50
BodyVelocity.Parent = targHRP
game.Debris:AddItem(BodyVelocity,.2)
end