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

bossbar set minecraft:time value 0
bossbar set time name [{"text":"Build Time Remaining: "},{"text":"0 seconds","color":"yellow"}]
playsound minecraft:block.note_block.pling master @a[tag=inround] ~ ~ ~ 10 1 1
setblock 8 3 2 minecraft:air
fill 13 14 -1 3 6 9 air
execute if entity @a[team=build] run function main:fail/outoftime