local c=require(ReplicatedModules:WaitForChild("\067\104\097\116\067\111\110\115\116\097\110\116\115"))local X=require(modulesFolder:WaitForChild("\067\104\097\116\067\104\097\110\110\101\108"))local D=require(modulesFolder:WaitForChild("\083\112\101\097\107\101\114"))local Q=require(modulesFolder:WaitForChild("\085\116\105\108"))local F=nil pcall(function()F=require((game:GetService("\067\104\097\116")).ClientChatModules.ChatLocalization)end)F=F or{}if not F.FormatMessageToSend or not F.LocalizeFormattedMessage then function F.FormatMessageToSend(D,c,X)return X end 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
