How do I detect when a RemoteEvent is fired a certain amount of times?

Hello, I am currently making an antispam for my admin GUI’s anticheat section and was wondering if I could detect if the “SayMessageRequest” RemoteEvent is fired too many times. I know roblox has a built-in antispam but I want to make a better system :smile:. All help would be appreciated!

1 Like

Oh yeah, and I forgot to add it can also stop exploiters from spamming a remoteevent.

Just increment a counter every time the remote is called and measure the difference between each call. If it is called more than 100 times per second, then there might be something wrong.

2 Likes

Oh, thanks! I made an Int value which clears every 0.05 seconds after a RemoteEvent is fired. In theory, if an exploiter fires it 10 times in 0.05 seconds they get kicked.

1 Like