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

How to make text filtering work for custom chat gui?

Asked by 5 years ago
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?

0
Are you filtering it on server-side or client-side? User#19524 175 — 5y
0
Are you filtering it on server-side or client-side? User#19524 175 — 5y
0
I am filtering server side, does it matter that im testing it out in studio? StayToasted 3 — 5y

1 answer

Log in to vote
0
Answered by
Audiimo 105
5 years ago
Edited 5 years ago

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.

0
Thank you I see it works in game. Thank you for the help i appreciate it greatly StayToasted 3 — 5y
0
Yeah Np dude Audiimo 105 — 5y
Ad

Answer this question