Still didn’t work heres my localScript i puted it in Starterplayerscripts
local FormatNumber = require(--[[location of FormatNumber]])
local formatter = FormatNumber.NumberFormatter.with()
print(formatter:Format(1234)) --> 1,234
-- Add your abbreviations/compact notation suffixes here
local abbreviations = FormatNumber.Notation.compactWithSuffixThousands({
"K", "M", "B", "T",
})
local formatter = FormatNumber.NumberFormatter.with()
:Notation(abbreviations)
-- Round nearest integer but keep 3 significant digits.
-- 1.23K 12.3K 123K
-- If you prefer rounding to certain decimal places change it to something like Precision.maxFraction(1) to round it to 1 decimal place
:Precision(FormatNumber.Precision.integer():WithMinDigits(3))
print(formatter:Format(1234)) --> 1.23K
print(formatter:Format(12345)) --> 12.3K
print(formatter:Format(123456)) --> 123K