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

setblock 8 0 8 minecraft:structure_block
data modify block 8 0 8 mode set value "LOAD"
data modify block 8 0 8 name set value "minecraft:empty2"
data modify block 8 0 8 posX set value -14
data modify block 8 0 8 posY set value 3
data modify block 8 0 8 posZ set value -10
setblock 9 0 8 minecraft:redstone_block
setblock 9 0 8 minecraft:stone
setblock 8 0 8 minecraft:structure_block
data modify block 8 0 8 mode set value "LOAD"
data modify block 8 0 8 name set value "minecraft:duo"
data modify block 8 0 8 posX set value -14
data modify block 8 0 8 posY set value 3
data modify block 8 0 8 posZ set value -10
setblock 9 0 8 minecraft:redstone_block
setblock 9 0 8 minecraft:stone
bossbar set minecraft:time style progress
bossbar set minecraft:time max 20
bossbar set minecraft:time value 20
bossbar set time name [{"text":" "}]
kill @e[type=item]
tag @a[tag=sep] add DoubleJumper
tag @a[tag=sep] add inround
team join build @a[tag=sep]
tp @a[tag=sep,scores={id=2}] 0.5 6.0 14.5 -180 2
tp @a[tag=sep,scores={id=3}] 16.5 6.0 14.5 -180 2
execute if score random build matches 1 run function main:duorounds/1/view
execute if score random build matches 2 run function main:duorounds/2/view
execute if score random build matches 3 run function main:duorounds/3/view
execute if score random build matches 4 run function main:duorounds/4/view
execute if score random build matches 5 run function main:duorounds/5/view
execute if score random build matches 6 run function main:duorounds/6/view
execute if score random build matches 7 run function main:duorounds/7/view
execute if score random build matches 8 run function main:duorounds/8/view
execute if score random build matches 9 run function main:duorounds/9/view
execute if score random build matches 10 run function main:duorounds/10/view
execute if score random build matches 11 run function main:duorounds/11/view
execute if score random build matches 12 run function main:duorounds/12/view
execute if score random build matches 13 run function main:duorounds/13/view
execute if score random build matches 14 run function main:duorounds/14/view
execute if score random build matches 15 run function main:duorounds/15/view
execute if score random build matches 16 run function main:duorounds/16/view
execute if score random build matches 17 run function main:duorounds/17/view
execute if score random build matches 18 run function main:duorounds/18/view
execute if score random build matches 19 run function main:duorounds/19/view
execute if score random build matches 20 run function main:duorounds/20/view
execute if score random build matches 21 run function main:duorounds/21/view
execute if score random build matches 22 run function main:duorounds/22/view
execute if score random build matches 23 run function main:duorounds/23/view
execute if score random build matches 24 run function main:duorounds/24/view
execute if score random build matches 25 run function main:duorounds/25/view
execute if score random build matches 26 run function main:duorounds/26/view
execute if score random build matches 27 run function main:duorounds/27/view
execute if score random build matches 28 run function main:duorounds/28/view
execute if score random build matches 29 run function main:duorounds/29/view
execute if score random build matches 30 run function main:duorounds/30/view
execute if score random build matches 31 run function main:duorounds/31/view
execute if score random build matches 32 run function main:duorounds/32/view
execute if score random build matches 33 run function main:duorounds/33/view
execute if score random build matches 34 run function main:duorounds/34/view
execute if score random build matches 35 run function main:duorounds/35/view
execute if score random build matches 36 run function main:duorounds/36/view
execute if score random build matches 37 run function main:duorounds/37/view
execute if score random build matches 38 run function main:duorounds/38/view
execute if score random build matches 39 run function main:duorounds/39/view
execute if score random build matches 40 run function main:duorounds/40/view
execute if score random build matches 41 run function main:duorounds/41/view
execute if score random build matches 42 run function main:duorounds/42/view
execute if score random build matches 43 run function main:duorounds/43/view
execute if score random build matches 44 run function main:duorounds/44/view
execute if score random build matches 45 run function main:duorounds/45/view
execute if score random build matches 46 run function main:duorounds/46/view
execute if score random build matches 47 run function main:duorounds/47/view
execute if score random build matches 48 run function main:duorounds/48/view
execute if score random build matches 49 run function main:duorounds/49/view
execute if score random build matches 50 run function main:duorounds/50/view
execute if score random build matches 51 run function main:duorounds/51/view
execute if score random build matches 52 run function main:duorounds/52/view
execute if score random build matches 53 run function main:duorounds/53/view
execute if score random build matches 54 run function main:duorounds/54/view
execute if score random build matches 55 run function main:duorounds/55/view
execute if score random build matches 56 run function main:duorounds/56/view
execute if score random build matches 57 run function main:duorounds/57/view
execute if score random build matches 58 run function main:duorounds/58/view
execute if score random build matches 59 run function main:duorounds/59/view
execute if score random build matches 60 run function main:duorounds/60/view
execute if score random build matches 61 run function main:duorounds/61/view
execute if score random build matches 62 run function main:duorounds/62/view
execute if score random build matches 63 run function main:duorounds/63/view
execute if score random build matches 64 run function main:duorounds/64/view
execute if score random build matches 65 run function main:duorounds/65/view
execute if score random build matches 66 run function main:duorounds/66/view
execute if score random build matches 67 run function main:duorounds/67/view
execute if score random build matches 68 run function main:duorounds/68/view
execute if score random build matches 69 run function main:duorounds/69/view
execute if score random build matches 70 run function main:duorounds/70/view
execute if score random build matches 71 run function main:duorounds/71/view
execute if score random build matches 72 run function main:duorounds/72/view
execute if score random build matches 73 run function main:duorounds/73/view
execute if score random build matches 74 run function main:duorounds/74/view
execute if score random build matches 75 run function main:duorounds/75/view
execute if score random build matches 76 run function main:duorounds/76/view
execute if score random build matches 77 run function main:duorounds/77/view
execute if score random build matches 78 run function main:duorounds/78/view
execute if score random build matches 79 run function main:duorounds/79/view
execute if score random build matches 80 run function main:duorounds/80/view
execute if score random build matches 81 run function main:duorounds/81/view
execute if score random build matches 82 run function main:duorounds/82/view
execute if score random build matches 83 run function main:duorounds/83/view
execute if score random build matches 84 run function main:duorounds/84/view
execute if score random build matches 85 run function main:duorounds/85/view
execute if score random build matches 86 run function main:duorounds/86/view
execute if score random build matches 87 run function main:duorounds/87/view
execute if score random build matches 88 run function main:duorounds/88/view
execute if score random build matches 89 run function main:duorounds/89/view
execute if score random build matches 90 run function main:duorounds/90/view
execute if score random build matches 91 run function main:duorounds/91/view
execute if score random build matches 92 run function main:duorounds/92/view
execute if score random build matches 93 run function main:duorounds/93/view
execute if score random build matches 94 run function main:duorounds/94/view
execute if score random build matches 95 run function main:duorounds/95/view
execute if score random build matches 96 run function main:duorounds/96/view
execute if score random build matches 97 run function main:duorounds/97/view
execute if score random build matches 98 run function main:duorounds/98/view
execute if score random build matches 99 run function main:duorounds/99/view
execute if score random build matches 100 run function main:duorounds/100/view
execute if score random build matches 101 run function main:duorounds/101/view
execute if score random build matches 102 run function main:duorounds/102/view
execute if score random build matches 103 run function main:duorounds/103/view
execute if score random build matches 104 run function main:duorounds/104/view
execute if score random build matches 105 run function main:duorounds/105/view
execute if score random build matches 106 run function main:duorounds/106/view
execute if score random build matches 107 run function main:duorounds/107/view
execute if score random build matches 108 run function main:duorounds/108/view
execute if score random build matches 109 run function main:duorounds/109/view
execute if score random build matches 110 run function main:duorounds/110/view
execute if score random build matches 111 run function main:duorounds/111/view
execute if score random build matches 112 run function main:duorounds/112/view
execute if score random build matches 113 run function main:duorounds/113/view
execute if score random build matches 114 run function main:duorounds/114/view
execute if score random build matches 115 run function main:duorounds/115/view
execute if score random build matches 116 run function main:duorounds/116/view
execute if score random build matches 117 run function main:duorounds/117/view
execute if score random build matches 118 run function main:duorounds/118/view
execute if score random build matches 119 run function main:duorounds/119/view
execute if score random build matches 120 run function main:duorounds/120/view
execute if score random build matches 121 run function main:duorounds/121/view
execute if score random build matches 122 run function main:duorounds/122/view
execute if score random build matches 123 run function main:duorounds/123/view
execute if score random build matches 124 run function main:duorounds/124/view
execute if score random build matches 125 run function main:duorounds/125/view
execute if score random build matches 126 run function main:duorounds/126/view
execute if score random build matches 127 run function main:duorounds/127/view
execute if score random build matches 128 run function main:duorounds/128/view
execute if score random build matches 129 run function main:duorounds/129/view
execute if score random build matches 130 run function main:duorounds/130/view
execute if score random build matches 131 run function main:duorounds/131/view
execute if score random build matches 132 run function main:duorounds/132/view
execute if score random build matches 133 run function main:duorounds/133/view
execute if score random build matches 134 run function main:duorounds/134/view
execute if score random build matches 135 run function main:duorounds/135/view
execute if score random build matches 136 run function main:duorounds/136/view
execute if score random build matches 137 run function main:duorounds/137/view
execute if score random build matches 138 run function main:duorounds/138/view
execute if score random build matches 139 run function main:duorounds/139/view
execute if score random build matches 140 run function main:duorounds/140/view
execute if score random build matches 141 run function main:duorounds/141/view
execute if score random build matches 142 run function main:duorounds/142/view
execute if score random build matches 143 run function main:duorounds/143/view
execute if score random build matches 144 run function main:duorounds/144/view
execute if score random build matches 145 run function main:duorounds/145/view
execute if score random build matches 146 run function main:duorounds/146/view
execute if score random build matches 147 run function main:duorounds/147/view
execute if score random build matches 148 run function main:duorounds/148/view
execute if score random build matches 149 run function main:duorounds/149/view
execute if score random build matches 150 run function main:duorounds/150/view