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.
COMMUNITY QUESTION
Can I limit a user's chats?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Sadly I don't know any code to start off with either.
You can get the chat modules from studio and modify them directly
You can also design a queue with a table and every 5 seconds send the first value and remove it from the table
Or why not just use StarterGui:SetCoreGuiEnabled to temporary disable the chat for 5 seconds for the client?
@Jaguar515_YT that would disable the player being able to SEE the chat also.