Best ways to prevent glitching through walls?

I am looking for ways to prevent different types of glitching though walls, for example with the use of emotes or other noclipping stuff, so that I can stop players from getting out of bounds in my game.
What I am only using right now to prevent noclipping is with a script the checks if the players x, y and z axis is located within the Volume of a part which is the area, and if not then the player gets killed.
I just want ways to stop glitching through walls that’s it, thanks.

1 Like

You can try making your walls thicker or disabling emotes. Maybe also adding a no clip detecting system using ray casts that teleport the player back if it detects collision between the players old position and their current position.

1 Like