I have a Hud on roblox that shows your leader stats "Money,job, etc" But i want to script the money text so that if the amount of digits is greater than 3 there's a comma put for example " If the player just got 1000 i want the guis to display it as 1,000 not 1000. and so on for every number. 1,000 2,000 10,000 15,000 100,000,000 etc."
I know that i could just go into the script and say if the value == 1000 then gui.text = 1,000 but that would be way too much work as they players are going to be in the high digits. does anybody know how i can do this?
