I’m using Body Velocity (I know it’s deprecated) because Linear Velocity is too buggy for my use case. However, I’m experiencing a delay when applying knockback with the last punch, as seen in the video. I’ve already set the network ownership to the server, but the knockback is still jagged and not smooth. I create the Body Velocity on the server.
if EnemyHumanoid then
EnemyHumanoid:TakeDamage(5)
EnemyHumanoidRootPart:SetNetworkOwner(nil)
local BodyVelocity = Instance.new("BodyVelocity", EnemyHumanoidRootPart)
BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
BodyVelocity.Velocity = HumanoidRootPart.CFrame.LookVector * 100
Debris:AddItem(BodyVelocity, 0.1)
end
How could I make it smoother?