So, I am making a sword that has very reaction based combat. The thing is, the player can spam the remote event for the attack button with no cooldown, but the remote won’t do anything since I have all my sanity checks on the server.
So I am wondering if a remote event that does absolutely nothing besides run a if--then statement sanity check would have a considerable impact on the servers health.
A simple sanity check doesn’t cost much performance, spamming it is more or less like running it a few times a second, nothing the average computer cant handle.
Yes, in default, you STILL have to create a debounce at the local script, thats for non-hackers. If hackers tried to spam call event, the server will have a dictionary where each key’s name is a name of a player in the server and their value is kinda like debounce value, either true or false. When someone fired that event, the server will spawn delay a thread that will make the player’s debounce back to normal.