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

How do I input Text Filtering?

Asked by 6 years ago

I am new to ROBLOX Studio. I want my game to be safe. And one of those ways is to input text filtering. I have seen the video of how to. But I don't understand it since I am new. Please answer my question!

1 answer

Log in to vote
0
Answered by 6 years ago

It's quite simple actually. There are two methods of text filtering.

game.Chat:FilterStringAsync(text,from,to)
game.Chat:FilterStringForBroadcast(text,from)

from = the player that chatted or the string you mention to = sending the string text = ya know the text... from in FilterStringForBroadcast is if it's a global thing is just the player sending it out. Hopefully I was able to help.

Ad

Answer this question