#built using mc-build (https://mcbuild.dev/)

bossbar set minecraft:time value 10
bossbar set time name [{"text":"View Time Remaining: "},{"text":"10 seconds","color":"red"}]
schedule function main:timerhard/9 1s