I am making a custom chat UI in my game, but the filtering script does not actually filter anything. I am not getting any errors.
SCRIPT:
local function filterText(textt, playeruserid)
local TSs = game:GetService("TextService")
local filterText0 = TSs:FilterStringAsync(textt, playeruserid, 1)
local actualTexttT = filterText0:GetChatForUserAsync(playeruserid)
return actualTexttT
end
(This script is also run on the server)
Any help would be greatly appreciated!!