uhm you need an abbreviator, soo i cant help you with that
but i can give you an abbreviator
local ABBREVIATIONS = { "K", "M", "B", "T", "Qa", "Qi", "Sx","Sp","Oc","No","Dc","Ud","Dd","Td","QaD","QiD","SxD","SpD","OcD","NoD"}
local function Abbrev(num)
if num < 1000 then
return tostring(num)
end
local digits = math.floor(math.log10(num)) + 1
local index = math.min(#ABBREVIATIONS, math.floor((digits - 1) / 3))
local front = num / math.pow(10, index * 3)
return string.format("%i%s+", front, ABBREVIATIONS[index])
end
You need to use something like InfiniteMath or EternityNum and use its suffix (short) function to achieve this, I am on mobile therefore I cannot provide a link however a simple search would achieve this.