Network ownership security for soccer ball

I’m making a soccer game and I was just wondering, what security checks can I do to check whenever someone gets network ownership of the ball?

The reason im using network ownership is for smooth gameplay

The ones I have already:

  • making sure the player’s ping isn’t too high (300 max)
  • making sure player has a humanoidrootpart and humanoid
  • making sure player’s humanoid is alive
  • making sure the ball passed by the client is a valid instance/part
  • making sure the player isnt more than 10 studs away from the ball (the hitbox size is 5)

Do I need more, or should these be enough before it starts getting too complicated?

1 Like

You can add velocity checks, you can also check at how much speed a ball is traveling and how fast it is, check if it get teleported directly to the goal.

2 Likes

Yes, I am going to use loops that constantly check the velocity of the ball for security etc

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.