I'm making a chat GUI and I need to filter the message a user enters. I remember that there is a service with a function that does this, but I completely forgot what service that is.
Edit 2: If you are going to down vote this, do you mind explaining why?
The ChatService has FilterStringForPlayerAsync which does what you want.
Chat filtering is automatic. However, the difference between utilizing it with a custom-made chat GUI and leaving the default ROBLOX chat GUI is the default chat will automatically censor unacceptable words with hashtags (#'s). However, if you make a custom chat GUI, I believe that if there is a swear word, the chat label will be empty instead of with the profane word censored. I can test that if you want, but you should be able to. Unless you want to make custom messages from the server viewed in chat (or just hate the look of the new chat), I strongly recommend you keep the default ROBLOX chat system.
Locked by yumtaste, NinjoOnline, and Redbullusa
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?