|
| 14 Jun 2017 06:32 AM |
Out of nowhere, my friends random game got put under review for having no text filtering, and since I'm only a beginner when it comes to scripting, I have no idea how to add text filtering, and the wiki isn't much help to me as it is quite confusing on what to do.
Please help.
|
|
|
| Report Abuse |
|
|
|
| 14 Jun 2017 06:35 AM |
| FilterStringAsync, I don't know how to use it, but search for it. c; |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Jun 2017 06:40 AM |
| The wiki provides a tutorial on how to add text filtering to your help. Im kinda the same, I don't really like the wiki but sometimes you have to. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2017 06:49 AM |
Only thing I got out of the wiki post was to put local filteredText = game:GetService("Chat"):FilterStringAsync(text, fromPlayer, toPlayer) in a script with chat as a parent. Otherwise, I have no idea what to do.
|
|
|
| Report Abuse |
|
|
|
| 14 Jun 2017 07:05 AM |
Man, this subforum is dead.
|
|
|
| Report Abuse |
|
|
AIicks
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 788 |
|
|
| 14 Jun 2017 07:14 AM |
that function you stated above returns the filtered text to the variable. As functions are values.
|
|
|
| Report Abuse |
|
|
| |
|
AIicks
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 788 |
|
|
| 14 Jun 2017 07:18 AM |
Yeah, as long as the variable being passed as a parameter in the function called text is equal to something.
|
|
|
| Report Abuse |
|
|
AIicks
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 788 |
|
|
| 14 Jun 2017 07:19 AM |
(the parameter being called text)
|
|
|
| Report Abuse |
|
|