I have made a custom anticheat in ^MurderV3 that prevents users from going through walls entirely
The way this system works is, we cast a ray from your LastPosition to your current position
If the raycast hits something, we teleport you back to LastPosition
If the raycast does not hit something, we set your LastPosition to your current position
But, we have a problem
The "Share Camera" object is invalid, and the player freeze it in place, and, for some god forsaken reason, Raycast can detect it. Once this was discovered, it has lead to users using the share camera to gain height, flying above everyone as to be invulnerable, so I need a solution
My first thought was to only have it teleport you back if the angle of the surface normal is around 90 degrees, meaning its a wall, but this would mean you can clip through the floor/ceiling, which I don't want
My second thought was to disable this section of the anticheat if its constantly being activated, as to make the player fall through the camera, but this could go wrong in 2 cases:
- Players using this to their advantage to clip through walls
- Players boosting themselves up for a second to hopefully "reset" the timer