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

How to make text filtering work for custom chat gui?

local S = "CussWord"
local filtered = game:GetService("Chat"):FilterStringForBroadcast(S)
print(filtered)

"Cussword" is an actual cuss word but im not gonna put it here lol but it returns not filtered and im not sure why i want to make it work so i dont get in trouble by roblox for a chat gui that doesnt block inappropriate content. Any tips or ideas?

3 comments

0

Are you filtering it on server-side or client-side?

0

Are you filtering it on server-side or client-side?

0

I am filtering server side, does it matter that im testing it out in studio?

1 answer

✓ Accepted answer

If I am remembering correctly, vulgarities aren't censored on studio tests. If you wanna see it in action, try a live server. So yes, to answer your comment, it does matter if you are on a test server.

2 comments

0

Thank you I see it works in game. Thank you for the help i appreciate it greatly

0

Yeah Np dude

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