summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~-3 ~-7 ~8 ~1 ~7 stained_hardened_clay 5 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-7 ~8 ~ ~7 stained_glass 13 0 stained_hardened_clay"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC1\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC2\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC3\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC4\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC5\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC6\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC7\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC8\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC9\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC10\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC11\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC12\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC13\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC14\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC15\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~ ~1 ~ {CustomName:\"UHCran\",Tags:[\"UHC16\"],NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /gamerule showDeathMessages true"},{id:commandblock_minecart,Command:" /gamerule doDaylightCycle true"},{id:commandblock_minecart,Command:" /gamerule doEntityDrops true"},{id:commandblock_minecart,Command:" /time set 0"},{id:commandblock_minecart,Command:" /setworldspawn 0 0 0"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCkills playerKillCount Top Killers"},{id:commandblock_minecart,Command:" /gamerule keepInventory false"},{id:commandblock_minecart,Command:" /gamerule naturalRegeneration false"},{id:commandblock_minecart,Command:" /scoreboard objectives setdisplay sidebar UHCkills"},{id:commandblock_minecart,Command:" /gamerule doTileDrops true"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHChealth health"},{id:commandblock_minecart,Command:" /scoreboard objectives setdisplay list UHChealth"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCcount dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add BSize trigger"},{id:commandblock_minecart,Command:" /scoreboard objectives add DHead trigger"},{id:commandblock_minecart,Command:" /scoreboard objectives add GLeng trigger"},{id:commandblock_minecart,Command:" /scoreboard objectives add IsHPlaced dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCchosen dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCHasJade dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCHasFlame dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCHasSeis dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCHasHal dummy"},{id:commandblock_minecart,Command:" /gamerule doMobLoot true"},{id:commandblock_minecart,Command:" /worldborder center 0 0"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCstart trigger"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCgame dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCdead deathCount"},{id:commandblock_minecart,Command:" /scoreboard teams add UHCgp"},{id:commandblock_minecart,Command:" /scoreboard teams option UHCgp friendlyfire false"},{id:commandblock_minecart,Command:" /scoreboard objectives add UHCtimer dummy"},{id:commandblock_minecart,Command:" /gamerule doMobSpawning true"},{id:commandblock_minecart,Command:" /fill ~-10 ~-3 ~7 ~2 ~-3 ~-7 stained_hardened_clay 5 replace"},{id:commandblock_minecart,Command:" /spreadplayers -6 0 0 5 false @a"},{id:commandblock_minecart,Command:" /fill ~-10 ~-3 ~7 ~2 ~1 ~-7 stained_glass 13 outline"},{id:commandblock_minecart,Command:" /fill ~-10 ~-3 ~7 ~2 ~-3 ~-7 stained_hardened_clay 5 replace"},{id:commandblock_minecart,Command:" /fill ~-10 ~1 ~7 ~2 ~1 ~-7 stained_hardened_clay 5 replace"},{id:commandblock_minecart,Command:" /spawnpoint @a"},{id:commandblock_minecart,Command:" /summon armor_stand ~-9 ~-1 ~ {CustomName:\"BSize\",Tags:[\"UHCstand\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~-9 ~-1 ~2 {CustomName:\"DHead\",Tags:[\"UHCstand\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /summon armor_stand ~-9 ~-1 ~-2 {CustomName:\"GLeng\",Tags:[\"UHCstand\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,PersistenceRequired:1}"},{id:commandblock_minecart,Command:" /scoreboard players set @e[name=BSize] BSize 5"},{id:commandblock_minecart,Command:" /scoreboard players set @e[name=DHead] DHead 1"},{id:commandblock_minecart,Command:" /scoreboard players set @e[name=GLeng] GLeng 1"},{id:commandblock_minecart,Command:"setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"[ Start ] \\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard players set @a UHCstart 1\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\"}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"[ Destroy ]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~1 ~2 ~7 ~-11 ~-2 ~-7 air\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/kill @e[type=armor_stand,tag=UHCstand]\\\"},\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/kill @e[type=armor_stand,name=UHCran]\\\"}}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-7 ~7 ~2 ~7 air\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~ ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Advanced UHC\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"By\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Blue\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Commander\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}\"}"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~-6 ~7 ~ ~6 chain_command_block 5"},{id:commandblock_minecart,Command:"fill ~7 ~ ~1 ~5 ~ ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~ ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~ ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~ ~-1 ~4 ~ ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~ ~-2 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~ ~-3 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~ ~-3 ~4 ~ ~-3 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~ ~-4 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~ ~-5 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~ ~-5 ~4 ~ ~-5 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~ ~-6 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~-6 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~-6 ~4 ~-1 ~-6 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~-5 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~-4 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~-4 ~4 ~-1 ~-4 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~-3 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~-2 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~-2 ~4 ~-1 ~-2 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~-1 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~ chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~ ~4 ~-1 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~2 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~2 ~4 ~-1 ~2 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~3 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~4 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~4 ~4 ~-1 ~4 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~5 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~6 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~6 ~4 ~-1 ~6 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~6 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~5 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~5 ~4 ~-2 ~5 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~4 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~3 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~3 ~4 ~-2 ~3 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~2 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~1 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~1 ~4 ~-2 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~-1 ~4 ~-2 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~-2 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-3 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~-3 ~4 ~-2 ~-3 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~-4 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-5 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~-5 ~4 ~-2 ~-5 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~-6 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-6 repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~1 {auto:1,Command:\"/scoreboard players set @e[score_UHCcount_min=1,score_UHCcount=1] UHCcount 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /scoreboard teams empty UHCgp\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /scoreboard players set @e[score_UHCtimer_min=1] UHCtimer 0\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~ {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /scoreboard players set @e[score_UHCgame_min=1] UHCgame 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~ {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /worldborder set 1500 0\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~ {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /gamemode 2 @a\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~ {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /effect @a minecraft:saturation 5 10 true\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~ {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /effect @a minecraft:regeneration 5 10 true\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /effect @a clear\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /execute @e[c=1,name=UHCran] ~ ~ ~ /teleport @a ~ ~-2 ~ ~ ~\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /clear @a\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /time set day\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_UHCcount_min=1,score_UHCcount=1] ~ ~ ~ /title @a title [\\\"\\\",{\\\"selector\\\":\\\"@a[score_UHCgame_min=1,score_UHCgame=1]\\\",\\\"color\\\":\\\"gold\\\"},{\\\"text\\\":\\\" has won the UHC!\\\",\\\"color\\\":\\\"none\\\"}]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-2 {auto:1,Command:\"/execute @a[score_UHCtimer_min=1,score_UHCtimer=1,c=1] ~ ~ ~ /execute @e[score_GLeng_min=4,score_GLeng=4] ~ ~ ~ /worldborder set 15 7200\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-2 {auto:1,Command:\"/execute @a[score_UHCtimer_min=1,score_UHCtimer=1,c=1] ~ ~ ~ /execute @e[score_GLeng_min=3,score_GLeng=3] ~ ~ ~ /worldborder set 15 5400\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-2 {auto:1,Command:\"/execute @a[score_UHCtimer_min=1,score_UHCtimer=1,c=1] ~ ~ ~ /execute @e[score_GLeng_min=2,score_GLeng=2] ~ ~ ~ /worldborder set 15 3600\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-2 {auto:1,Command:\"/execute @a[score_UHCtimer_min=1,score_UHCtimer=1,c=1] ~ ~ ~ /execute @e[score_GLeng_min=1,score_GLeng=1] ~ ~ ~ /worldborder set 15 1800\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-2 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=20,score_UHCtimer=20] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 1 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-3 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=40,score_UHCtimer=40] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 2 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-3 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=60,score_UHCtimer=60] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 3 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-3 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=80,score_UHCtimer=80] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 4 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-3 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=100,score_UHCtimer=100] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 5 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-3 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=200,score_UHCtimer=200] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 10 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-4 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=300,score_UHCtimer=300] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 15 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-4 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=600,score_UHCtimer=600] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 30 seconds until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-4 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=1200,score_UHCtimer=1200] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 1 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-4 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=2400,score_UHCtimer=2400] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 2 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-4 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=4800,score_UHCtimer=4800] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 4 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-5 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=7200,score_UHCtimer=7200] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 6 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-5 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=9600,score_UHCtimer=9600] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 8 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-5 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=11999,score_UHCtimer=11999] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ 10 minutes until grace period ends ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-5 {auto:1,Command:\"/tellraw @a[score_UHCtimer_min=1,score_UHCtimer=1] [\\\"\\\",{\\\"text\\\":\\\"Blue \\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.youtube.com/channel/UCz7Lqnbo-QA-kyE34S5PTnQ\\\"}},{\\\"text\\\":\\\"UHC\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\":\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\" ⚠ Grace period has ended ⚠\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":false}]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-5 {auto:1,Command:\"/playsound minecraft:entity.elder_guardian.curse master @a[score_UHCtimer_min=1,score_UHCtimer=1] ~ ~ ~ 1 1 1\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-6 {auto:1,Command:\"/scoreboard teams leave @a[score_UHCtimer_min=1,score_UHCtimer=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-6 {auto:1,Command:\"/scoreboard players remove @a[score_UHCtimer_min=1] UHCtimer 1\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-6 {auto:1,Command:\"/scoreboard players set @a[score_UHCstart_min=1,score_UHCstart=1] UHCstart 0\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-6 {auto:1,Command:\"/scoreboard players set @a[score_UHCstart_min=1,score_UHCstart=1] UHCkills 0\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-6 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:instant_damage 1 0 true\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-6 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:mining_fatigue 5 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-6 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:blindness 5 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-6 {auto:1,Command:\"/gamemode 0 @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-6 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:slowness 4 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-6 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:regeneration 5 10 true\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-5 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:instant_health 1 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-5 {auto:1,Command:\"/xp -1000L @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-5 {auto:1,Command:\"/clear @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-5 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:night_vision 1000000 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-5 {auto:1,Command:\"/scoreboard teams join UHCgp @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-4 {auto:1,Command:\"/effect @a[score_UHCstart_min=1,score_UHCstart=1] minecraft:saturation 5 10 true\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-4 {auto:1,Command:\"/scoreboard players set @a[score_UHCstart_min=1,score_UHCstart=1] UHCtimer 12000\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-4 {auto:1,Command:\"/scoreboard players set @a[score_UHCstart_min=1,score_UHCstart=1] UHCgame 1\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-4 {auto:1,Command:\"/scoreboard players set @a[score_UHCstart_min=1,score_UHCstart=1] UHCdead 0\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-4 {auto:1,Command:\"/execute @e[score_BSize_min=15,score_BSize=15] ~ ~ ~ /spreadplayers 0 0 100 749 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-3 {auto:1,Command:\"/execute @e[score_BSize_min=14,score_BSize=14] ~ ~ ~ /spreadplayers 0 0 100 699 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-3 {auto:1,Command:\"/execute @e[score_BSize_min=13,score_BSize=13] ~ ~ ~ /spreadplayers 0 0 100 649 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-3 {auto:1,Command:\"/execute @e[score_BSize_min=12,score_BSize=12] ~ ~ ~ /spreadplayers 0 0 75 599 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-3 {auto:1,Command:\"/execute @e[score_BSize_min=11,score_BSize=11] ~ ~ ~ /spreadplayers 0 0 75 549 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-3 {auto:1,Command:\"/execute @e[score_BSize_min=10,score_BSize=10] ~ ~ ~ /spreadplayers 0 0 75 499 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-2 {auto:1,Command:\"/execute @e[score_BSize_min=9,score_BSize=9] ~ ~ ~ /spreadplayers 0 0 75 449 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-2 {auto:1,Command:\"/execute @e[score_BSize_min=8,score_BSize=8] ~ ~ ~ /spreadplayers 0 0 50 399 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-2 {auto:1,Command:\"/execute @e[score_BSize_min=7,score_BSize=7] ~ ~ ~ /spreadplayers 0 0 50 349 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-2 {auto:1,Command:\"/execute @e[score_BSize_min=6,score_BSize=6] ~ ~ ~ /spreadplayers 0 0 50 299 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-2 {auto:1,Command:\"/execute @e[score_BSize_min=5,score_BSize=5] ~ ~ ~ /spreadplayers 0 0 25 249 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=4,score_BSize=4] ~ ~ ~ /spreadplayers 0 0 25 199 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=3,score_BSize=3] ~ ~ ~ /spreadplayers 0 0 25 149 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=2,score_BSize=2] ~ ~ ~ /spreadplayers 0 0 0 99 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-1 {auto:1,Command:\"/execute @e[score_BSize_min=1,score_BSize=1] ~ ~ ~ /spreadplayers 0 0 0 49 false @a[score_UHCstart_min=1,score_UHCstart=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-1 {auto:1,Command:\"/execute @a[score_UHCstart_min=1,score_UHCstart=1] ~ ~ ~ /execute @e[score_BSize_min=15,score_BSize=15] ~ ~ ~ /worldborder set 1500 0\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~ {auto:1,Command:\"/execute @a[score_UHCstart_min=1,score_UHCstart=1] ~ ~ ~ /execute @e[score_BSize_min=14,score_BSize=14] ~ ~ ~ /worldborder set 1400 0\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~ {auto:1,Command:\"/execute @a[score_UHCstart_min=1,score_UHCstart=1] ~ ~ ~ /execute @e[score_BSize_min=13,score_BSize=13] ~ ~ ~ /worldborder set 1300 0\"}"},{id:commandblock_minecart,Command:"summon falling_block ~ ~ ~ {Block:command_block,Time:1}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}