So i have a knockback script using body velocity but its incosistant. The script doesnt always knock the player up or back as shown in the clip:Streamable
heres the code for the knockback , thats int he server script
local OppKnockback = Instance.new("BodyVelocity")
OppKnockback.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
OppKnockback.Parent = HitHRPT
OppKnockback.Velocity = char:FindFirstChild("HumanoidRootPart").CFrame.LookVector * 60 +Vector3.new(0,50,0)
OppKnockback.Name = "Knockback"
OppKnockback.P = math.huge
game.Debris:AddItem(OppKnockback,.3)