I have a scoreboard skript that displays kills and coins, but the numbers are a bit messy, I was wondering if anyone can make it so if a player has like 2,000,000 it will say 2M and if someone has 1,000 it will say 1K and other stuff like 2,500 = 2.5K and 1,200 is 1.2K. Im sure you know what I mean, but I want it for all the numbers obv. If this doesnt make sense, reply, and I will try simplify it.
Code on next page:
on join:
while player is online:
wipe player's sidebar
set {players.online} to number of all players
set name of sidebar of player to "&4u&cDemolish"
set score "&c&m+----------------------------+&l" in sidebar of player to 6
set score "&f" in sidebar of player to 5
set score "➣ Coins: &6⛃ %{Coins::%player's uuid%} ? 0%" in sidebar of player to 4
set score "➣ Kills: &f☠ %{Kills::%player's uuid%} ? 0%" in sidebar of player to 3
set score "&l" in sidebar of player to 2
set score "&c&m+----------------------------+" in sidebar of player to 1
wait 5 seconds