# skip wait, if bedrock block is broken in creative mode
execute as @s if block ~ ~ ~ minecraft:air run scoreboard players set @s gz-a4-upgrade 1

execute as @s[scores={gz-a4-upgrade=3100}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"160\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3180}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"159\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3160}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"158\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3140}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"157\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3120}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"156\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3100}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"155\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3080}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"154\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3060}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"153\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3040}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"152\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3020}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"151\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=3000}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"150\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2980}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"149\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2960}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"148\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2940}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"147\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2920}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"146\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2900}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"145\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2880}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"144\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2860}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"143\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2840}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"142\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2820}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"141\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2800}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"140\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2780}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"139\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2760}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"138\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2740}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"137\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2720}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"136\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2700}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"135\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2680}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"134\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2660}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"133\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2640}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"132\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2620}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"131\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2600}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"130\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2580}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"129\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2560}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"128\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2540}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"127\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2520}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"126\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2500}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"125\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2480}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"124\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2460}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"123\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2440}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"122\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2420}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"121\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2400}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"120\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2380}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"119\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2360}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"118\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2340}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"117\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2320}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"116\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2300}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"115\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2280}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"114\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2260}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"113\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2240}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"112\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2220}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"111\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2200}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"110\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2180}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"109\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2160}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"108\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2140}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"107\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2120}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"106\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2100}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"105\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2080}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"104\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2060}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"103\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2040}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"102\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2020}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"101\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=2000}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"100\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1980}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"99\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1960}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"98\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1940}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"97\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1920}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"96\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1900}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"95\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1880}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"94\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1860}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"93\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1840}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"92\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1820}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"91\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1800}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"90\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1780}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"89\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1760}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"88\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1740}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"87\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1720}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"86\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1700}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"85\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1680}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"84\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1660}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"83\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1640}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"82\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1620}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"81\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1600}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"80\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1580}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"79\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1560}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"78\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1540}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"77\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1520}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"76\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1500}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"75\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1480}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"74\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1460}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"73\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1440}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"72\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1420}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"71\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1400}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"70\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1380}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"69\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1360}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"68\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1340}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"67\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1320}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"66\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1300}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"65\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1280}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"64\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1260}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"63\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1240}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"62\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1220}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"61\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1200}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"60\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1180}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"59\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1160}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"58\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1140}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"57\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1120}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"56\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1100}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"55\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1080}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"54\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1060}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"53\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1040}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"52\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1020}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"51\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=1000}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"50\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=980}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"49\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=960}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"48\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=940}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"47\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=920}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"46\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=900}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"45\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=880}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"44\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=860}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"43\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=840}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"42\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=820}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"41\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=800}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"40\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=780}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"39\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=760}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"38\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=740}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"37\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=720}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"36\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=700}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"35\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=680}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"34\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=660}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"33\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=640}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"32\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=620}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"31\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=600}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"30\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=580}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"29\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=560}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"28\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=540}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"27\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=520}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"26\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=500}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"25\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=480}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"24\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=460}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"23\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=440}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"22\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=420}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"21\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=400}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"20\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=380}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"19\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=360}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"18\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=340}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"17\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=320}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"16\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=300}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"15\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=280}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"14\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=260}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"13\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=240}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"12\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=220}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"11\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=200}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"10\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=180}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"9\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=160}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"8\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=140}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"7\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=120}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"6\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=100}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"5\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=80}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"4\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=60}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"3\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=40}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"2\",\"color\":\"gold\",\"bold\":\"true\"}"}
execute as @s[scores={gz-a4-upgrade=20}] at @s run data merge entity @e[tag=gz-a4-waitcounter,sort=nearest,limit=1] {CustomName:"{\"text\":\"1\",\"color\":\"gold\",\"bold\":\"true\"}"}

scoreboard players remove @s gz-a4-upgrade 1
tag @s[scores={gz-a4-upgrade=0}] remove gz-a4-waiting
execute as @s[scores={gz-a4-upgrade=0}] at @s run kill @e[tag=gz-a4-waitmsg]
execute as @s[scores={gz-a4-upgrade=0}] at @s run kill @e[tag=gz-a4-waitcounter]
tag @s[scores={gz-a4-upgrade=0}] add gz-a4-mined
execute as @s[scores={gz-a4-upgrade=0}] at @s run setblock ~ ~ ~ minecraft:air