New version (1.0) up! Changes:
Changes:
* Implemented fail safes so it can't get in any infinite loops (no such problem has been reported, just being safe)
* Minimized check distance so you don't stop a ways away from a wall.
* Split it up into shared, server, and client files (easy for me to understand that way)
* Revamped how it detects if you're stuck, there was an exploit to get through props with the old method.
* Fixed the admin check.
* Added specific checks for when players wedge themselves into tight areas. It was processing their velocity to 0 in this case before (not a horrible bug, so this is really just optimization).
* Added a vehicle check (apparently old version could crash if you were noclipped and entered a custom vehicle)
Make sure you delete the old version FIRST!