Anti camping system

  1. What do you want to achieve? Keep it simple and clear!

I want to create a system where if a player stands in a part for too long they die as a punishment for camping.

U can use OverlapParams with getPartInPart, when the Humanoid.MoveDirection.Magnitude == 0 for too long with a tick() u can check if they stand in it for too long.


  • OverlapParams
  • GetPartInPart
  • Humanoid.MoveDirection.Magnitude
  • Tick()
1 Like

Problem though, are you sure this is the best solution for your game? It seems it would be pretty frustrating for your players.

Perhaps you should consider some alternatives, such as revealing a player’s position if they stay in the same area for too long.

Please think this through.

1 Like

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