local G=PlayersService.LocalPlayer while G==nil do PlayersService.ChildAdded:wait()G=PlayersService.LocalPlayer end local n=G:WaitForChild("\080\108\097\121\101\114\071\117\105")local Q,H=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 g=Q and H local x do local G,n=pcall(function()return(UserSettings()):IsUserFeatureEnabled("\085\115\101\114\070\105\120\066\117\098\098\108\101\067\104\097\116\084\101\120\116")end)x=G and n end local m do local G,n=pcall(function()return(UserSettings()):IsUserFeatureEnabled("\085\115\101\114\082\111\097\099\116\066\117\098\098\108\101\067\104\097\116\066\101\116\097")end)m=G and n end local function T(G)return utf8.len(utf8.nfcnormalize(G))end
--[[ END OF SERVICES ]]

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 UserFixBubbleChatText
do
	local success, value = pcall(function()
		return UserSettings():IsUserFeatureEnabled("UserFixBubbleChatText")
	end)
	UserFixBubbleChatText = success and value
end

local UserRoactBubbleChatBeta
do
	local success, value = pcall(function()
		return UserSettings():IsUserFeatureEnabled("UserRoactBubbleChatBeta")
	end)
	UserRoactBubbleChatBeta = success and value
end

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