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

bossbar set minecraft:time value 1
bossbar set time name [{"text":"View Time Remaining: "},{"text":"1 seconds","color":"red"}]
playsound minecraft:block.note_block.bass master @a ~ ~ ~ 10 1 1
execute if entity @a[tag=inround] run schedule function main:timereasy/timerfinish 1s