local l=PlayersService.LocalPlayer while l==nil do PlayersService.ChildAdded:wait()l=PlayersService.LocalPlayer end local G=l:WaitForChild("\080\108\097\121\101\114\071\117\105")local M,C=pcall(function()return(UserSettings()):IsUserFeatureEnabled("\085\115\101\114\083\104\111\117\108\100\076\111\099\097\108\105\122\101\071\097\109\101\067\104\097\116\066\117\098\098\108\101")end)local s=M and C local k do local l,G=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)k=l and G end local function w(l)return utf8.len(utf8.nfcnormalize(l))end


local LocalPlayer = PlayersService.LocalPlayer
while LocalPlayer == nil do
	PlayersService.ChildAdded:wait()
	LocalPlayer = PlayersService.LocalPlayer
end

local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

local success, UserShouldLocalizeGameChatBubble = pcall(function()
	return UserSettings():IsUserFeatureEnabled("UserShouldLocalizeGameChatBubble")
end)
local UserShouldLocalizeGameChatBubble = success and UserShouldLocalizeGameChatBubble

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

local function getMessageLength(message)
	return utf8.len(utf8.nfcnormalize(message))
end
