I’ve run into this issue where strings are not filtered properly, I’ve read several posts and even studied the docs to be sure I am not doing anything wrong, but I dont think I do.
local textService = game:GetService("TextService")
local function createLobby(player:Player, lobbyName:string)
lobbyName = lobbyName or player.DisplayName.."'s lobby"
local success, result:TextFilterResult = pcall(function()
return textService:FilterStringAsync(lobbyName, player.UserId, Enum.TextFilterContext.PublicChat)
end)
lobbyName = result:GetNonChatStringForBroadcastAsync(player.UserId)
print(lobbyName)
end
I dont get any errors from the pcall or anything, and the returned instance IS the textFilterResult, but it doesn’t filter the text at all no matter how cursed words I input in. Any help will be appreciated!