execute if score @s manic.sanity matches 0..999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"0000000000"}'
execute if score @s manic.sanity matches 1000..1999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1000000000"}'
execute if score @s manic.sanity matches 2000..2999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1100000000"}'
execute if score @s manic.sanity matches 3000..3999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1110000000"}'
execute if score @s manic.sanity matches 4000..4999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111000000"}'
execute if score @s manic.sanity matches 5000..5999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111100000"}'
execute if score @s manic.sanity matches 6000..6999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111110000"}'
execute if score @s manic.sanity matches 7000..7999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111111000"}'
execute if score @s manic.sanity matches 8000..8999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111111100"}'
execute if score @s manic.sanity matches 9000..9999 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111111110"}'
execute if score @s manic.sanity matches 10000 run data modify storage manic:storage root.temp.sanity.bar set value '{"text":"1111111111"}'
