I have a web hook for discord to track my chats in-game. But I would like to find a way that I could limit users to 1 chat every 5 seconds (or somewhere around 5) so that there isn't spam, getting the webhook taken down and my account warned. Does anyone have a script or know how to make a script that could help with this? It's a roblox airline so in the future there could be somewhere around 40-50 players in-game along with admins using commands as the command bar is disabled.

5 comments

0

Sadly I don't know any code to start off with either.

0

You can get the chat modules from studio and modify them directly

0

You can also design a queue with a table and every 5 seconds send the first value and remove it from the table

0

Or why not just use StarterGui:SetCoreGuiEnabled to temporary disable the chat for 5 seconds for the client?

0

@Jaguar515_YT that would disable the player being able to SEE the chat also.