New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

Filtering text w/ FilterStringAsync?

Asked by
sheepposu 526 Moderation Voter
1 year ago

I made a custom chat in order to allow the talking of both Console and computer players. Now I need a filter. I was trying something else until I learned it was old, then I found FilterStringAsync. I can't get it to work tho and i don't know what I am doing wrong. The line I am using - local filteredMsg = game:GetService('TextService'):FilterStringAsync(msg, plr.UserId):GetNonChatStringForBroadcastAsync()

I put the f-word through it and it came out unfiltered sheepposu 526 — 1y

Answer this question