function FilterString(String,Player)
local TextService = game:GetService("TextService")
local StringToFilter = String
local FilteredString = TextService:FilterStringAsync(StringToFilter,myPlr.UserId):GetNonChatStringForBroadcastAsync()
print(FilteredString)
return FilteredString
end
FilterString("Fuck",game.Players.thelolguy301) -- Sorry for the bad word..
The result is an unfiltered “Fuck”. (Again, sorry for the language)