I will make a personalized chat and so...

I wonder if automatically each of the chains that i'll use and will be visible will be moderated by obscene words, and if it is not, there is some way to moderate it?, and if I do not, I can get into trouble just by not knowing how to do it?

I thought it was this function but it seems that it doesn't work: :/ because if I remember correctly, Roblox moderates all the words I've tried ._. and it just prints the same swearword I wrote

local playerFrom = game.Players.LocalPlayer
local message = "Hello world"

FilteredString = game:GetService("Chat"):FilterStringForBroadcast(message, playerFrom)
 
print(FilteredString)

4 comments

0

That looks fine.

0

Don't test it in Roblox Sudio, test it in Roblox. If it filters it, you got it.

0

Yes, that works in a roblox server thanks man

0

Why am I doing this? I hate roblox moderation :v