local B=Vector2.new(18,18)local n=game:GetService("\084\101\120\116\083\101\114\118\105\099\101")local x=game:GetService("\080\108\097\121\101\114\115")local c=x.LocalPlayer while not c do x.ChildAdded:wait()c=x.LocalPlayer end local g=script.Parent.Parent local X=require(g:WaitForChild("\067\104\097\116\083\101\116\116\105\110\103\115"))local Q=require(g:WaitForChild("\067\104\097\116\067\111\110\115\116\097\110\116\115"))local z={}local y={}y.__index=y function y.GetStringTextBounds(X,B,x,c,g)g=g or Vector2.new(10000,10000)return n:GetTextSize(B,c,x,g)end

local DEFAULT_ICON_SIZE=Vector2.new(18,18)

local TextService = game:GetService("TextService")

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
while not LocalPlayer do
	Players.ChildAdded:wait()
	LocalPlayer = Players.LocalPlayer
end

local clientChatModules = script.Parent.Parent
local ChatSettings = require(clientChatModules:WaitForChild("ChatSettings"))
local ChatConstants = require(clientChatModules:WaitForChild("ChatConstants"))

local module = {}
local methods = {}
methods.__index = methods

function methods:GetStringTextBounds(text, font, textSize, sizeBounds)
	sizeBounds = sizeBounds or Vector2.new(10000, 10000)
	return TextService:GetTextSize(text, textSize, font, sizeBounds)
end