Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I abbreviate a large number in a GUI?

Asked by 3 years ago

Please do not repost your question after it has been closed.

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
0
Please do not submit multiple questions regarding the same topic. Delete one or the other. Gey4Jesus69 2705 — 3y

1 answer

Log in to vote
0
Answered by
KingDomas 153
3 years ago

https://scriptinghelpers.org/questions/68317/how-do-i-abbreviate-a-large-number-in-a-gui

Please be sure to check other questions before you post your own. :)

Ad

Answer this question