local L=game:GetService("\067\104\097\116")local w=L:WaitForChild("\067\108\105\101\110\116\067\104\097\116\077\111\100\117\108\101\115")local F=script.Parent local K=require(w:WaitForChild("\067\104\097\116\083\101\116\116\105\110\103\115"))local z=require(F:WaitForChild("\067\117\114\118\101\085\116\105\108"))local b=w:WaitForChild("\067\111\109\109\097\110\100\077\111\100\117\108\101\115")local A=require(b:WaitForChild("\087\104\105\115\112\101\114"))local B=require(F:WaitForChild("\077\101\115\115\097\103\101\083\101\110\100\101\114"))local m=nil pcall(function()m=require((game:GetService("\067\104\097\116")).ClientChatModules.ChatLocalization)end)if m==nil then m={}function m.Get(F,L,w)return w end end local q do local L,w=pcall(function()return(UserSettings()):IsUserFeatureEnabled("\085\115\101\114\067\104\097\116\078\101\119\077\101\115\115\097\103\101\076\101\110\103\116\104\067\104\101\099\107\050")end)q=L and w end

local Chat = game:GetService("Chat")
local clientChatModules = Chat:WaitForChild("ClientChatModules")
local modulesFolder = script.Parent
local ChatSettings = require(clientChatModules:WaitForChild("ChatSettings"))
local CurveUtil = require(modulesFolder:WaitForChild("CurveUtil"))

local commandModules = clientChatModules:WaitForChild("CommandModules")
local WhisperModule = require(commandModules:WaitForChild("Whisper"))

local MessageSender = require(modulesFolder:WaitForChild("MessageSender"))

local ChatLocalization = nil
pcall(function() ChatLocalization = require(game:GetService("Chat").ClientChatModules.ChatLocalization) end)
if ChatLocalization == nil then ChatLocalization = {} function ChatLocalization:Get(key,default) return default end end

local FFlagUserChatNewMessageLengthCheck2 do
	local success, result = pcall(function()
		return UserSettings():IsUserFeatureEnabled("UserChatNewMessageLengthCheck2")
	end)
	FFlagUserChatNewMessageLengthCheck2 = success and result
end
