I have build /tp command with some function that may make lag to server when one or more users start spamm /tp command.
Is there any way to detect if player spam the button for /tp or just the command and detect it, something like that:
Please don't spam this command (wait 5sec)