Hello! I wonder how i abbreviate numbers in leaderstats and text gui's. My leaderstats is already created so dont include one in a script. The 2 leaderstats Value are Speed and Money. Pls i rlly need help.
COMMUNITY QUESTION
How do I abbreviate numbers?
1 answer
so if you want it displayed you want to put these in text labels put this in a localscript in the screen ui, not in the frame. (not tested)
local player = game.Players.LocalPlayer
local leaderstats = player.leaderstats
--assuming this script is in a screengui with the texts displayed in it
script.Parent.Frame.SpeedLabel.Text = "Speed: "..leaderstats.Speed.Value
script.Parent.Frame.MoneyLabel.Text = "Money: "..leaderstats.Money.Value
1 comment
0
That's not what they asked for.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Do you mean making a variable?
He means cash suffixes.