Text constantly returning filtered

Im making a name change system, but the text keeps returning has inappropriate. Any help?

Script:

-- [ | Variables | ]
-- [ | FileName: TextServiceSRC.lua | ]
-- [ | Last Edited: 3/12/22 | ]
-- [ | By @maddjames28 | ]

local RBXTextService = game:GetService("TextService")
local RBXReplicatedStorage = game:GetService("ReplicatedStorage")
local filteredResult = ""

local function getTextObject(message, fromPlayerId)
	local textObject
	local success, errorMessage = pcall(function()
		textObject = RBXTextService:FilterStringAsync(message, fromPlayerId)
	end)
	if success then
		return textObject
	end
	return false
end

local function getFilteredMessage(textObject, toPlayerId)
	local filteredMessage
	local success, errorMessage = pcall(function()
		filteredMessage = textObject:GetChatForUserAsync(toPlayerId)
	end)
	if success then
		return filteredMessage
	end
	return false
end

-- Called when client sends a message
local function onSendMessage(sender, recipient, message)
	if message ~= "" then
		-- Filter the incoming message and send the filtered message
		local messageObject = getTextObject(message, sender.UserId)

		if messageObject then
			local filteredMessage = getFilteredMessage(messageObject, recipient.UserId)
			RBXReplicatedStorage.FilterTXT:FireClient(recipient, sender, filteredMessage)
		end
	end
end

RBXReplicatedStorage.FilterTXT.OnServerEvent:Connect(onSendMessage)

I don’t think string filtration works in Studio, that could be why.

I tried on the roblox client as well, and it still returned filtered