I am displaying a players leaderstats on a GUI. I want it so when the players stats is bigger than 999 that it inserts commas as example "1,000,000". This would help me a lot. I will show you what I got so far.
while true do
local t = script.Parent
local player = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent
local money = player.leaderstats:WaitForChild("Money")
t.Text = "$"..money.Value..""
wait()
end
How can I add commas? Anyone know?
~iiMitchie |