Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I use text filtering?

I am making a custom chat for my game and I am really confused on text filtering. I have tried it multiple times, but never succeeded. Can someone help me with filtering the text?

2 answers

If you're trying to make something like an custom Chat or something about 2 Players chatting you should use:

game.Chat:FilterStringAsync(Text, FromPlayer, ToPlayer)

But if you're trying to filter only what the player chatted/wrote then you should use:

game.Chat:FilterStringForBroadcast(Text, FromPlayer) end

This discussion is preserved as it was. New answers, comments, and votes are closed.