Body Velocity Problem

Hello, i was doing a combat system and i tried to code some knockback script with body velocity, it worked but body velocity makes player stuck in the ground for 1-2 seconds also it makes character sometimes fling away, i tried adding raycast then tweening the humanoidrootpart but i didn’t like it. How can i fix this problem?

btw when character touches anything bodyvelocity gets destroyed and maxforce is huge numbers.

You can see in here:
https://gyazo.com/c48ff08bd95effa67cee101f498b828c

I think its because maxforce is too high. try

BodyVelocity.MaxForce = Vector3.new(1,1,1) * 500000
1 Like