Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I abbreviate a large number in a GUI?

Ok so I'm making a Simulator game and you can get Coins by Swinging A Sword, so when this gui value hits 1 million I want it to to say 1M instead of just 1000000

But I haven't figured out how to do it since most ways are only for the leaderboard

How do I turn this into that:

local plr = game.Players.LocalPlayer
while wait(0.01) do
    script.Parent.Text = " "..plr.leaderstats.Coins.Value
end

1 comment

0

Please do not submit multiple questions regarding the same topic. Delete one or the other.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.