Hello, Can Anyone Make A Gui Coins 1M When My Leaderstats Is 1000000??? I Already Have The Script But I Dont Know How To Continue It So Can Anyone Help me?? Here Is Script :
while wait(0.1) do if game.Players.LocalPlayer.leaderstats.Coins.Value > 1000 then local shortAmt = tostring(game.Players.LocalPlayer.leaderstats.Coins.Value / 1000) .. "K" script.Parent.Text = " " .. shortAmt else script.Parent.Text = " "..game.Players.LocalPlayer.leaderstats.Coins.Value end end
For Example :
while wait(0.1) do if game.Players.LocalPlayer.leaderstats.Coins.Value > 1000 then local shortAmt = tostring(game.Players.LocalPlayer.leaderstats.Coins.Value / 1000) .. "K" script.Parent.Text = " " .. shortAmt else local shortAmr = tostring(game.Players.LocalPlayer.leaderstats.Coins.Value / 1000000) .. "M" script.Parent.Text = " " .. shortAmr game.Players.LocalPlayer.leaderstats.Coins.Value end end