Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Filtering text w/ FilterStringAsync?

Asked by
sheepposu 561 Moderation Voter
4 years 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()

0
I put the f-word through it and it came out unfiltered sheepposu 561 — 4y

Answer this question