Anti exploit swords

Currently, I have my script check the distance between the attacker and the other player. It also checks the distance between the tip of the sword and the player holding the sword. (Keep in mind this is all server side). The only thing the player has control over is making the swing animation. Is there anything else I should be checking to prevent exploiters cheating with my swords?

1 Like

While this may be unrelated to the sword itself, exploiters commonly resize other players’ HumanoidRootParts so they can hit from further distances. Other than that, it seems good to me.

2 Likes

Watch out if players teleport/follow teleport players. This exploit essentailly follows the character while still sustaining their own position/distance. Allowing them to essentailly bypass distance checks.

2 Likes

That’s possible but it can be prevented if you put anti exploit on your game.
Just realize this post is long ago.