Trying to make AntiFling script

you shouldn’t take the y axis into account

why should I not take the y axis into account?
never mind because players can fall long distances right?

because they can build up velocity by falling from somewhere high

(math.abs(hrp.Velocity.X)+(if hrp.Velocity.Y > 0 then hrp.Velocity.Y else 0)+math.abs(hrp.Velocity.Z)) > 60

this will only take into account the y axis if the player is moving upwards

edited to make it shorter

I’ve solved it, i just changed velocity to RotVelocity.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.