Please help! I really need it, it's for when a player puts in text inside a TextBox. I've tried making my own filter but it didn't work.. Anything would be awesome!
use FilteredString = game.ChatService:FilterStringForBroadcast(playerSend,Message)
FilteredString
will be the Message with all the bad words as #'s.
http://wiki.roblox.com/index.php?title=API:Class/Chat/FilterStringForBroadcast
Use FilterStringForPlayerAsync(). It filters the text for whatever age the user is. Example:
local text = "[swear] you" FilterStringForPlayerAsync(text, plr) -- make sure you have defined plr, this is just an example.
Here is the wiki page.
It's for a Normal textbox, ik how to do the rest all i need to do tis filter out anything the player may put that's bad i've tried the chat thing but of course won't unless it's a chat script whcih it's not, Please anymore help?