Text filtering failure to work

I am currently trying to script a filtering system for a text system, however I cannot find out a way to do this. The following script is from a module script that I made for a server script.

local success, Result = pcall(TextService.FilterStringAsync, TextService, Entered, Player.UserId)
	if success then
		print(Result:GetNonChatStringForBroadcastAsync())
	else
		warn(Result)
	end
			
	Player.Character.Head:WaitForChild("PlayerDisplay").Nickname.Text = Result:GetNonChatStringForBroadcastAsync()

What do you mean by “Text filtering failure to work”? Describe the problem, please.

If you type something bad in it comes out the same is what that means.

Have you tested in roblox because in studios filtering doesn’t work

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.