local e=require(ReplicatedModules:WaitForChild("\067\104\097\116\067\111\110\115\116\097\110\116\115"))local Q=require(modulesFolder:WaitForChild("\067\104\097\116\067\104\097\110\110\101\108"))local o=require(modulesFolder:WaitForChild("\083\112\101\097\107\101\114"))local H=require(modulesFolder:WaitForChild("\085\116\105\108"))local Z=nil pcall(function()Z=require((game:GetService("\067\104\097\116")).ClientChatModules.ChatLocalization)end)Z=Z or{}if not Z.FormatMessageToSend or not Z.LocalizeFormattedMessage then function Z.FormatMessageToSend(o,e,Q)return Q end end local function M(e)local Q=string.gsub(e," ","")return string.len(Q)==0 end

local ChatConstants = require(ReplicatedModules:WaitForChild("ChatConstants"))

local ChatChannel = require(modulesFolder:WaitForChild("ChatChannel"))
local Speaker = require(modulesFolder:WaitForChild("Speaker"))
local Util = require(modulesFolder:WaitForChild("Util"))

local ChatLocalization = nil
pcall(function() ChatLocalization = require(game:GetService("Chat").ClientChatModules.ChatLocalization) end)
ChatLocalization = ChatLocalization or {}

if not ChatLocalization.FormatMessageToSend or not ChatLocalization.LocalizeFormattedMessage then
	function ChatLocalization:FormatMessageToSend(key,default) return default end
end

local function allSpaces(inputString)
	local testString = string.gsub(inputString, " ", "")
	return string.len(testString) == 0
end
