I want to make bubble chat in a game but when I look it up online it tells me how to but when I test it out with the swear words it does not sensor them.
✓ ANSWER ACCEPTED
How do you make bubble chat? And how do u sensor out the bad words with it?
1 answer
✓ Accepted answer
local ts = game:GetService("TextService")
local text = "bruh"
local filteredtext = ts:FilterStringAsync(text, game.Players.Pappamamamll.UserId):GetNonChatStringForBroadcastAsync()
print(filteredtext)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
you are looking for https://developer.roblox.com/en-us/api-reference/function/TextService/FilterStringAsync