How do you make a chat cooldown

Is it possible to create a chat cooldown? For example, if someone is spamming the chat or is typing too fast, the chat will automatically lock up and stop them from typing in the chat for a while. I have tried looking for tutorials online but I can’t find any. Does anyone know how to do this?

1 Like

Is it possible for Roblox to add a moderation function that prevents spamming in the chat?

1 Like

Ok thanks. This might work. I’ll try to use this.

1 Like

What you marked as the “solution” isn’t the real solution. Here are the steps:

  1. Playtest your experience in Roblox Studio.

  2. Copy ChatModules in Chat and stop the playtest.

  3. Paste ChatModules into Chat, open ChatFloodDetector, and then set numberMessagesAllowed to 1. The actual cooldown time is decayTimePeriod, which you can set to any number you wish, all measured in seconds.