Hello! I have a combat system where you hit a player down while doing a air combo, however some times when the player you hit down and collides with a part they will be flung and usually die. Also, I use BodyVelocity to make them go down then delete it after.
Here is the code that does so:
local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
BodyVelocity.Velocity = ((Enemy.HumanoidRootPart.CFrame.p - Character.HumanoidRootPart.CFrame.p).unit * 30) - Vector3.new(0, 20, 0)
BodyVelocity.Name = "HitDown"
BodyVelocity.Parent = Enemy.HumanoidRootPart
Is there any way I can prevent this?