I’ll simply go straight to the example so that you can get an idea what I am trying to get. Whenever I was to chat “Hello”, I do not want the message to go to the global chat. Instead, I’d rather it not appear in there at all. How can I achieve this?
I’m pretty sure there’s a pretty easy solution to this, but I’m just not capable of finding it.
Btw: I’m using Roblox’s normal chat system. No custom message system.
Use chat modules. Copy them and paste them into Chat. They operate in the same way as the standard slash commands. chat.rbxm (114.6 KB)
Look at the sample in the “FilterThing” module. I forgot to remove some edits to this so in there will be a group ID in the ExtraDataInitializer that you can delete (the one with the note “Left as an example” above it).