local v=10000 local function f(f,q,z,W)local l=Vector2.new(W,v)local Z=GetTextSize(f,z,q,l)return Z.Y end return f

local MAX_BOUND = 10000

local function getTextHeight(text, font, fontSize, widthCap)
	local bounds = Vector2.new(widthCap, MAX_BOUND)
	local textSize = GetTextSize(text, fontSize, font, bounds)
	return textSize.Y
end

return getTextHeight
