FilterStringAsync, FilterStringForBroadcast, etc, all need another argument for the player sending the message, however my game is getting random usernames from ROBLOX, some of which ROBLOX has tended to not properly delete. How would I filter text without one of these arguments?

5 comments

0

https://developer.roblox.com/api-reference/class/TextFilterResult then get the id of that user as well as their name to filter it

0

@kimgdom5 you can't get a text filter result without having a target player

0

@dominoplayer6 GetNonChatStringForBroadcastAsync

0

@kingdom5 thank you so much! pls put it as an answer so i can mark it

0

But wait, how do I get a textfilterresult without using one of those user functions?