I need my script to filter the text given (this is not for a chat system, it’s for a name system)
The issue is that the script will print the original text no matter what, basically, it doesn’t filter the text
I was looking on the developer hub and nothing else has worked (literally, nothing)
local ts = game:GetService("TextService")
local text = "BADWORD"
local filteredtext = ts:FilterStringAsync(text, game.Players.C00Ql.UserId):GetNonChatStringForBroadcastAsync()
print(filteredtext)