so for my knockback system, I use BodyVelocity. It’s simple, I create the bodyvelocity and add it to the enemy’s HumanoidRootPart. But there’s a problem. Sometimes, the enemy’s character don’t go away when i use BodyVelocity… The velocity seems right, but the character just stays there. This is the BodyVelocity:
humanoidrp is the variable for the enemy’s HumanoidRootPart
local bodyvelo = Instance.new("BodyVelocity")
bodyvelo.Name = "BodyVellocity"
bodyvelo.P = math.huge
bodyvelo.MaxForce = Vector3.new(100000, 100000, 100000)
bodyvelo.Velocity = humanoidrp.CFrame.LookVector * knockrange
bodyvelo.Parent = humanoidrp
As you can see, nothing’s wrong. But like i said before, sometimes the enemy’s character don’t go away and I don’t know why.
