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

bossbar set minecraft:time style progress
bossbar set minecraft:time max 30
bossbar set minecraft:time value 30
bossbar set time name [{"text":"View Time Remaining: "},{"text":"30 seconds","color":"red"}]
schedule function main:timereasy/29 2s