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

How can I correctly use FilterStringForPlayerAsync() ?

As my Title shows, I don't understand the correct use of FilterStringForPlayerAsync(). All I would like are some examples and explanation towards using it.

I do understand the Parameters, the first one being the string and the second one being the Player who is being filtered for. I have already checked the wiki too.

1 answer

FilterStringForPlayerAsync() Sends string through ROBLOX's filter to take out inappropriate words and returns the filtered string. This function will only work if called from a Script on the server. If called on a client it will fail.

string = "hi"
 string:FilterStringForPlayerAsync (
    string,
    game.Players.HungryJaffer,
)

1 comment

0

i tried, sorry, im tired...

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