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

How can I correctly use FilterStringForPlayerAsync() ?

Asked by 9 years ago

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

Log in to vote
1
Answered by 9 years ago

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,
)
0
i tried, sorry, im tired... HungryJaffer 1246 — 9y
Ad

Answer this question