#how would I sanity check a mousebutton1 click

1 messages · Page 1 of 1 (latest)

patent epoch
#

my logic:

Server Script

  • If player has more than 50 coins
  • Fire to client every 5s and schedule damage in 5s
  • If not cancel within 5s, damage the player

Client

  • On event received, clone a frame template that'll fall from the top of your screen
  • If the player clicks block within 5s, fire event back to server to cancel the damage

now the issue I have is that an exploiter can simply just fire the remote event on loop and im not sure how would you sanity check this without just using a server script in the GUI itself

smoky bear
#

u can give the player a boolean attribute that acts as a cooldown and have the server to check whether its true. If it is true fire to the client.

patent epoch