Soccer game hitbox exploits

It has been a few months but I have already had multiple people using a hitbox expander on my soccer game.

Basically, my soccer game uses a client-sided hit detection system (for precision and responsiveness) and it uses network ownership for the ball, so when someone touches the ball they will fire an remote to the server to get network ownership (with some checks beforehand of course).

The only problem is I am not sure how to prevent people expanding their hitboxes since my hit detection is on the client, so I was wondering what would be the best way to prevent exploiters from resizing their character/the ball to gain an advantage. (keep in mind im using network ownership)

One way you can do this is by checking how far the ball is from the player by calculating the difference of the position in magnitude on the server-side before carrying out whatever function is required by the hitbox.

1 Like

Make the server check how big the hitbox is