#gold
execute as @s[scores={gold=..9}] run data modify storage player_data 1.gold set value '{"score":{"name":"@s","objective":"gold"},"color":"white","bold":false,"font":"minecraft:gold"}'
execute as @s[scores={gold=10..99}] run data modify storage player_data 1.gold set value '{"score":{"name":"@s","objective":"gold"},"color":"white","bold":false,"font":"minecraft:gold"},{"translate":"space.-10"}'
execute as @s[scores={gold=100..999}] run data modify storage player_data 1.gold set value '{"score":{"name":"@s","objective":"gold"},"color":"white","bold":false,"font":"minecraft:gold"},{"translate":"space.-20"}'
execute as @s[scores={gold=1000..9999}] run data modify storage player_data 1.gold set value '{"score":{"name":"@s","objective":"gold"},"color":"white","bold":false,"font":"minecraft:gold"},{"translate":"space.-30"}'
execute as @s[scores={gold=10000..}] run data modify storage player_data 1.gold set value '{"score":{"name":"@s","objective":"gold"},"color":"white","bold":false,"font":"minecraft:gold"},{"translate":"space.-40"}'