summon MinecartCommandBlock ~ ~1 ~ { Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:MinecartCommandBlock, Riding:{id:FallingSand,Time:1,Block:activator_rail, Riding:{id:FallingSand,Time:1,Block:redstone_block}}}, Command:gamerule commandBlockOutput false}, Command:gamerule sendCommandFeedback false}, Command:gamerule logAdminCommands false}, Command:fill ~1 ~-2 ~-1 ~10 ~6 ~4 air}, Command:setblock ~ ~-2 ~ air}, Command:fill ~ ~2 ~1 ~-1 ~-1 ~-1 stained_hardened_clay 15 replace air}, Command:fill ~-1 ~2 ~ ~ ~-1 ~ stained_hardened_clay 9 replace stained_hardened_clay}, Command:tellraw @p [{text:"\n\n\n\n\n\nCapture The Flag system",color:dark_aqua},{text:" by Ozillion has been installed successfully! Make sure to ",color:yellow},{text:"enable the clock",color:dark_purple},{text:".\n\n",color:yellow}]}, Command:fill ~1 ~-1 ~1 ~10 ~-1 ~-1 command_block}, Command:fill ~1 ~ ~ ~10 ~-2 ~ command_block}, Command:fill ~1 ~-1 ~ ~10 ~-1 ~ stained_hardened_clay 14}, Command:fill ~1 ~3 ~ ~10 ~1 ~ command_block}, Command:fill ~1 ~2 ~-1 ~10 ~2 ~1 command_block}, Command:fill ~1 ~2 ~ ~10 ~2 ~ stained_hardened_clay 14}, Command:fill ~1 ~ ~3 ~10 ~-2 ~3 command_block}, Command:fill ~1 ~-1 ~2 ~9 ~-1 ~4 command_block}, Command:fill ~1 ~-1 ~3 ~10 ~-1 ~3 stained_hardened_clay 14}, Command:setblock ~10 ~ ~3 air}, Command:fill ~ ~ ~2 ~ ~1 ~4 stained_glass 15}, Command:blockdata ~1 ~-1 ~-1 {Command:fill ~ ~ ~1 ~9 ~6 ~4 stained_hardened_clay 14 replace redstone_block 0}}, Command:blockdata ~1 ~-1 ~1 {Command:fill ~ ~ ~-1 ~9 ~6 ~2 redstone_block 0 replace stained_hardened_clay 14}}, Command:setblock ~-2 ~2 ~ wall_sign 4 replace {Text1:"{text:\\\"CTF in\\\",color:dark_aqua}",Text2:"{text:\\\"one command\\\",color:dark_aqua}",Text3:"{text:\\\"by Ozillion\\\",color:dark_aqua,clickEvent:{action:run_command,value:\\\"tellraw @p [{text:\\\\\\\"*Click* to check out \\\\\\\",color:dark_gray},{text:\\\\\\\"Ozillion's YouTube Channel\\\\\\\",color:dark_aqua,clickEvent:{action:open_url,value:\\\\\\\"https:www.youtube.comchannelUChdkzvYlykyr169qUMK2YtQ?&ab_channel=Ozillion\\\\\\\"}}]\\\"}}"}}, Command:setblock ~-2 ~1 ~ wall_sign 4 replace {Text2:"{text:\\\"Enable\\\",color:dark_purple,clickEvent:{action:run_command,value:\\\"fill ~2 ~1 ~ ~1 ~-2 ~ stained_hardened_clay 5 replace stained_hardened_clay\\\"}}",Text3:"{text:\\\"the Clock\\\",color:dark_purple,clickEvent:{action:run_command,value:\\\"setblock ~3 ~-2 ~ redstone_block\\\"}}"}}, Command:setblock ~-2 ~ ~ wall_sign 4 replace {Text2:"{text:\\\"Disable\\\",color:dark_blue,clickEvent:{action:run_command,value:\\\"fill ~2 ~2 ~ ~1 ~-1 ~ stained_hardened_clay 14 replace stained_hardened_clay\\\"}}",Text3:"{text:\\\"the Clock\\\",color:dark_blue,clickEvent:{action:run_command,value:\\\"setblock ~3 ~-1 ~ stained_hardened_clay 6\\\"}}"}}, Command:setblock ~-2 ~-1 ~ wall_sign 4 replace {Text2:"{text:\\\"Deconstruct\\\",color:dark_red,clickEvent:{action:run_command,value:\\\"setblock ~2 ~1 ~ redstone_block\\\"}}",Text3:"{text:\\\"the Mechanism\\\",color:dark_red,clickEvent:{action:run_command,value:\\\"setblock ~2 ~1 ~ activator_rail\\\"}}"}}, Command:setblock ~-1 ~ ~2 wall_sign 4 replace {Text1:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text2:"{text:\\\"Red Team\\\",color:dark_red}",Text3:"{text:\\\"Joiner\\\",color:dark_red}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p dropper 1 0 {display:{Name:Join Red,Lore:[\\\\\\"Any player 2 blocks above this\\\\\\",\\\\\\"block will join red team.\\\\\\"]}}\\\"}}"}}}, Command:setblock ~-1 ~ ~3 wall_sign 4 replace {Text1:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text2:"{text:\\\"Blue Team\\\",color:blue}",Text3:"{text:\\\"Joiner\\\",color:blue}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p dropper 1 0 {display:{Name:Join Blue,Lore:[\\\\\\"Any player 2 blocks above this\\\\\\",\\\\\\"block will join blue team.\\\\\\"]}}\\\"}}"}}}, Command:setblock ~-1 ~ ~4 wall_sign 4 replace {Text1:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text2:"{text:\\\"Team\\\",color:dark_green}",Text3:"{text:\\\"Leaver\\\",color:dark_green}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p dropper 1 0 {display:{Name:Leave Teams,Lore:[\\\\\\"Any player 2 blocks above this\\\\\\",\\\\\\"block will leave all teams.\\\\\\"]}}\\\"}}"}}}, Command:setblock ~-1 ~1 ~2 wall_sign 4 replace {Text2:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text3:"{text:\\\"Red Flag\\\",color:dark_red}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p spawn_egg 1 96 {display:{Name:Flag}}\\\"}}"}}}, Command:setblock ~-1 ~1 ~3 wall_sign 4 replace {Text2:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text3:"{text:\\\"Blue Flag\\\",color:blue}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p spawn_egg 1 94 {display:{Name:Flag}}\\\"}}"}}}, Command:setblock ~-1 ~1 ~4 wall_sign 4 replace {Text2:"{text:\\\"*Click* to get\\\",color:dark_gray}",Text3:"{text:\\\"Wrench\\\",color:dark_green}",Text4:"{text:\\\"\\\",color:dark_gray,clickEvent:{action:run_command,value:\\\"give @p iron_ingot 1 0 {display:{Name:Wrench,Lore:[\\\\\\"When held all flags are sent back\\\\\\",\\\\\\"to the pads and all pads\\\\\\",\\\\\\"within 1 block radius are killed.\\\\\\"]},FakeTag:wrench}\\\"}}"}}}, Command:setblock ~ ~1 ~ command_block 0 replace {Command:summon MinecartCommandBlock ~ ~-1 ~ {Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Command:scoreboard objectives remove CFhold},Command:scoreboard objectives remove CFleave},Command:scoreboard objectives remove CFjoinred},Command:scoreboard objectives remove CFjoinblue},Command:scoreboard objectives remove CFdeaths},Command:scoreboard objectives remove CFcaptured},Command:scoreboard objectives remove CFstolen},Command:scoreboard objectives remove CFfound},Command:scoreboard objectives remove CFlost},Command:scoreboard objectives remove CFretrieved},Command:scoreboard objectives remove CFblock},Command:scoreboard objectives remove CFflag},Command:scoreboard objectives remove CFflagitem},Command:scoreboard objectives remove CFdir},Command:scoreboard teams remove CFred Red Team},Command:scoreboard teams remove CFblue Blue Team},Command:scoreboard objectives remove CFage},Command:scoreboard teams remove CFred},Command:scoreboard teams remove CFblue},Command:setblock ~ ~-3 ~ cactus},Command:fill ~-2 ~-2 ~-1 ~10 ~3 ~4 air}}}, Command:blockdata ~1 ~-2 ~ {Command:scoreboard players add @e CFage 1}}, Command:blockdata ~1 ~ ~ {Command:tp @e[name=CFflag] ~ ~ ~ ~10 ~}}, Command:blockdata ~2 ~-2 ~ {Command:scoreboard players set @e[score_CFblock=0,name=CFredflag] CFflag 1}}, Command:blockdata ~2 ~ ~ {Command:"execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @p[r=0,score_CFflag=0,team=CFblue] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has stolen \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Red Flag\\\",\\\"color\\\":\\\"dark_red\\\"}]}]}"}}, Command:blockdata ~2 ~-1 ~-1 {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @p[r=0,score_CFflag=0,team=CFblue] ~ ~ ~ playsound fireworks.launch @a ~ ~ ~ 1 1}}, Command:blockdata ~2 ~-1 ~1 {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players add @p[r=0,score_CFflag=0,team=CFblue] CFstolen 1}}, Command:blockdata ~3 ~-2 ~ {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @a[r=0,team=CFblue] CFflag 1}}, Command:blockdata ~3 ~ ~ {Command:execute @a[score_CFflag_min=1,score_CFflag=1,team=CFblue] ~ ~ ~ scoreboard players set @e[name=CFredflag] CFflag 0}}, Command:blockdata ~3 ~-1 ~-1 {Command:replaceitem entity @e[name=!CFredflag,score_CFflag_min=1,score_CFflag=1] slot.armor.head banner 1 1 {FakeTag:flag}}}, Command:blockdata ~3 ~-1 ~1 {Command:scoreboard players set @e[score_CFblock=0,name=CFblueflag] CFflag 2}}, Command:blockdata ~4 ~-2 ~ {Command:"execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @p[r=0,score_CFflag=0,team=CFred] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has stolen \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Blue Flag\\\",\\\"color\\\":\\\"blue\\\"}]}]}"}}, Command:blockdata ~4 ~ ~ {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @p[r=0,score_CFflag=0,team=CFred] ~ ~ ~ playsound fireworks.launch @a ~ ~ ~ 1 1}}, Command:blockdata ~4 ~-1 ~-1 {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players add @p[r=0,score_CFflag=0,team=CFred] CFstolen 1}}, Command:blockdata ~4 ~-1 ~1 {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @a[r=0,team=CFred] CFflag 2}}, Command:blockdata ~5 ~-2 ~ {Command:execute @a[score_CFflag_min=2,score_CFflag=2,team=CFred] ~ ~ ~ scoreboard players set @e[name=CFblueflag] CFflag 0}}, Command:blockdata ~5 ~ ~ {Command:replaceitem entity @e[name=!CFblueflag,score_CFflag_min=2,score_CFflag=2] slot.armor.head banner 1 4 {FakeTag:flag}}}, Command:blockdata ~5 ~-1 ~-1 {Command:execute @a[score_CFdeaths_min=1,score_CFflag_min=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:CFflag,Small:1,Invisible:1,Invulnerable:1}}}, Command:blockdata ~5 ~-1 ~1 {Command:execute @a[score_CFdeaths_min=1,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @e[c=1,name=CFflag] CFflag 1}}, Command:blockdata ~6 ~-2 ~ {Command:"execute @a[score_CFdeaths_min=1,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@a[score_CFdeaths_min=1,score_CFflag_min=1]\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has lost \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Red Flag\\\",\\\"color\\\":\\\"dark_red\\\"}]}]}"}}, Command:blockdata ~6 ~ ~ {Command:scoreboard players add @a[score_CFdeaths_min=1,score_CFflag_min=1,score_CFflag=1] CFlost 1}}, Command:blockdata ~6 ~-1 ~-1 {Command:"execute @a[score_CFdeaths_min=1,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@a[score_CFdeaths_min=1,score_CFflag_min=1]\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has lost \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Blue Flag\\\",\\\"color\\\":\\\"blue\\\"}]}]}"}}, Command:blockdata ~6 ~-1 ~1 {Command:scoreboard players add @a[score_CFdeaths_min=1,score_CFflag_min=2,score_CFflag=2] CFlost 1}}, Command:blockdata ~7 ~-2 ~ {Command:execute @a[score_CFdeaths_min=1,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @e[c=1,name=CFflag] CFflag 2}}, Command:blockdata ~7 ~ ~ {Command:scoreboard players set @a[score_CFdeaths_min=1] CFflag 0}}, Command:blockdata ~7 ~-1 ~-1 {Command:execute @e[name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @e[name=CFredflag] CFflag 0}}, Command:blockdata ~7 ~-1 ~1 {Command:scoreboard players set @e[name=CFredflag] CFblock 0}}, Command:blockdata ~8 ~-2 ~ {Command:execute @e[name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @e[name=CFredflag] CFblock 1}}, Command:blockdata ~8 ~ ~ {Command:execute @e[score_CFage_min=10,name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @a[r=0,score_CFflag=0,team=CFblue] CFflag 1}}, Command:blockdata ~8 ~-1 ~-1 {Command:"execute @a[team=CFred,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @e[name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has found \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Blue Flag\\\",\\\"color\\\":\\\"blue\\\"}]}]}"}}, Command:blockdata ~8 ~-1 ~1 {Command:execute @a[team=CFred,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @e[name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ playsound fireworks.blast @a ~ ~ ~ 1 1}}, Command:blockdata ~9 ~-2 ~ {Command:execute @e[name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players add @p[team=CFred,score_CFflag_min=2,score_CFflag=2] CFfound 1}}, Command:blockdata ~9 ~ ~ {Command:execute @a[team=CFred,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ kill @e[name=CFflag,score_CFflag_min=2,score_CFflag=2]}}, Command:blockdata ~9 ~-1 ~-1 {Command:execute @e[name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @e[name=CFblueflag] CFflag 0}}, Command:blockdata ~9 ~-1 ~1 {Command:scoreboard players set @e[name=CFblueflag] CFblock 0}}, Command:blockdata ~10 ~-2 ~ {Command:execute @e[name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @e[name=CFblueflag] CFblock 1}}, Command:blockdata ~10 ~ ~ {Command:execute @e[score_CFage_min=10,name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @a[r=0,score_CFflag=0,team=CFred] CFflag 2}}, Command:blockdata ~10 ~-1 ~-1 {Command:"execute @a[team=CFblue,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @e[name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has found \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Red Flag\\\",\\\"color\\\":\\\"dark_red\\\"}]}]}"}}, Command:blockdata ~10 ~-1 ~1 {Command:execute @a[team=CFblue,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @e[name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ playsound fireworks.blast @a ~ ~ ~ 1 1}}, Command:blockdata ~1 ~1 ~ {Command:execute @e[name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players add @p[team=CFblue,score_CFflag_min=1,score_CFflag=1] CFfound 1}}, Command:blockdata ~1 ~3 ~ {Command:execute @a[team=CFblue,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ kill @e[name=CFflag,score_CFflag_min=1,score_CFflag=1]}}, Command:blockdata ~1 ~2 ~-1 {Command:kill @e[score_CFflagitem_min=1]}}, Command:blockdata ~1 ~2 ~1 {Command:scoreboard players set @e[type=Item] CFflagitem 1 {Item:{tag:{FakeTag:flag}}}}}, Command:blockdata ~2 ~1 ~ {Command:replaceitem entity @e[score_CFflag=0] slot.armor.head air}}, Command:blockdata ~2 ~3 ~ {Command:scoreboard players set @a CFdeaths 0}}, Command:blockdata ~2 ~2 ~-1 {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @a[r=0,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ playsound fireworks.twinkle_far @a ~ ~ ~ 1 1}}, Command:blockdata ~2 ~2 ~1 {Command:"execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ execute @a[r=0,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ tellraw @a {\\\"text\\\":\\\"\n\n\n\n\n\nBlue Flag\\\",\\\"color\\\":\\\"blue\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has been captured by \\\",\\\"color\\\":\\\"reset\\\",\\\"extra\\\":[{\\\"selector\\\":\\\"@p\\\"}]}]}"}}, Command:blockdata ~3 ~1 ~ {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players add @p[r=0,score_CFflag_min=2,score_CFflag=2] CFcaptured 1}}, Command:blockdata ~3 ~3 ~ {Command:execute @e[name=CFredflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @a[r=0,score_CFflag_min=2,score_CFflag=2] CFflag 0}}, Command:blockdata ~3 ~2 ~-1 {Command:"execute @a[team=CFred] ~ ~ ~ execute @e[r=0,name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has retrieved \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Red Flag\\\",\\\"color\\\":\\\"dark_red\\\"}]}]}"}}, Command:blockdata ~3 ~2 ~1 {Command:execute @a[team=CFred] ~ ~ ~ execute @e[r=0,name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ playsound fireworks.blast_far @a ~ ~ ~ 1 1}}, Command:blockdata ~4 ~1 ~ {Command:execute @a[team=CFred] ~ ~ ~ execute @e[r=0,score_CFage_min=10,name=CFflag,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players add @a[team=CFred] CFretrieved 1}}, Command:blockdata ~4 ~3 ~ {Command:execute @a[team=CFred] ~ ~ ~ kill @e[r=0,score_CFage_min=10,name=CFflag,score_CFflag_min=1,score_CFflag=1]}}, Command:blockdata ~4 ~2 ~-1 {Command:execute @a[score_CFflag_min=1,score_CFflag=1] ~ ~ ~ scoreboard players set @a[rm=1,score_CFflag_min=1,score_CFflag=1] CFflag 0}}, Command:blockdata ~4 ~2 ~1 {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @a[r=0,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ playsound fireworks.twinkle_far @a ~ ~ ~ 1 1}}, Command:blockdata ~5 ~1 ~ {Command:"execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ execute @a[r=0,score_CFflag_min=1,score_CFflag=1] ~ ~ ~ tellraw @a {\\\"text\\\":\\\"\n\n\n\n\n\nRed Flag\\\",\\\"color\\\":\\\"dark_red\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has been captured by \\\",\\\"color\\\":\\\"reset\\\",\\\"extra\\\":[{\\\"selector\\\":\\\"@p\\\"}]}]}"}}, Command:blockdata ~5 ~3 ~ {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players add @p[r=0,score_CFflag_min=1,score_CFflag=1] CFcaptured 1}}, Command:blockdata ~5 ~2 ~-1 {Command:execute @e[name=CFblueflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @a[r=0,score_CFflag_min=1,score_CFflag=1] CFflag 0}}, Command:blockdata ~5 ~2 ~1 {Command:"execute @a[team=CFblue] ~ ~ ~ execute @e[r=0,name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ tellraw @a {\\\"selector\\\":\\\"@p\\\",\\\"extra\\\":[{\\\"text\\\":\\\" has retrieved \\\",\\\"extra\\\":[{\\\"text\\\":\\\"Blue Flag\\\",\\\"color\\\":\\\"blue\\\"}]}]}"}}, Command:blockdata ~6 ~1 ~ {Command:execute @a[team=CFblue] ~ ~ ~ execute @e[r=0,name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ playsound fireworks.blast_far @a ~ ~ ~ 1 1}}, Command:blockdata ~6 ~3 ~ {Command:execute @a[team=CFblue] ~ ~ ~ execute @e[r=0,score_CFage_min=10,name=CFflag,score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players add @a[team=CFblue] CFretrieved 1}}, Command:blockdata ~6 ~2 ~-1 {Command:execute @a[team=CFblue] ~ ~ ~ kill @e[r=0,score_CFage_min=10,name=CFflag,score_CFflag_min=2,score_CFflag=2]}}, Command:blockdata ~6 ~2 ~1 {Command:execute @a[score_CFflag_min=2,score_CFflag=2] ~ ~ ~ scoreboard players set @a[rm=1,score_CFflag_min=2,score_CFflag=2] CFflag 0}}, Command:blockdata ~7 ~1 ~ {Command:execute @e[score_CFflag_min=1,score_CFdir_min=1,score_CFdir=1] ~ ~ ~ setblock ~ ~ ~ standing_banner 12 replace}}, Command:blockdata ~7 ~3 ~ {Command:execute @e[score_CFflag_min=1,score_CFdir_min=4,score_CFdir=4] ~ ~ ~ setblock ~ ~ ~ standing_banner 8 replace}}, Command:blockdata ~7 ~2 ~-1 {Command:execute @e[score_CFflag_min=1,score_CFdir_min=2,score_CFdir=2] ~ ~ ~ setblock ~ ~ ~ standing_banner 0 replace}}, Command:blockdata ~7 ~2 ~1 {Command:execute @e[score_CFflag_min=1,score_CFdir_min=3,score_CFdir=3] ~ ~ ~ setblock ~ ~ ~ standing_banner 4 replace}}, Command:blockdata ~8 ~1 ~ {Command:execute @e[type=MushroomCow,name=Flag] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:CFredflag,NoGravity:1,Invisible:1}}}, Command:blockdata ~8 ~3 ~ {Command:execute @e[type=MushroomCow,name=Flag] ~ ~-1.4 ~ summon ArmorStand ~ ~ ~ {CustomName:CFredpad,NoGravity:1,Invisible:1,Equipment:[{},{},{},{},{id:carpet,Damage:14s}]}}}, Command:blockdata ~8 ~2 ~-1 {Command:entitydata @e[name=Flag,type=MushroomCow] {Silent:1,ActiveEffects:[{Id:14,Duration:100,ShowParticles:0b}]}}}, Command:blockdata ~8 ~2 ~1 {Command:tp @e[name=Flag,type=MushroomCow] ~ -500 ~}}, Command:blockdata ~9 ~1 ~ {Command:execute @a[ry=135,rym=45] ~ ~ ~ scoreboard players set @e[c=1,name=CFredflag,score_CFage=1,r=6] CFdir 1}}, Command:blockdata ~9 ~3 ~ {Command:execute @a[ry=-135,rym=135] ~ ~ ~ scoreboard players set @e[c=1,name=CFredflag,score_CFage=1,r=6] CFdir 2}}, Command:blockdata ~9 ~2 ~-1 {Command:execute @a[ry=-45,rym=-135] ~ ~ ~ scoreboard players set @e[c=1,name=CFredflag,score_CFage=1,r=6] CFdir 3}}, Command:blockdata ~9 ~2 ~1 {Command:execute @a[ry=45,rym=-45] ~ ~ ~ scoreboard players set @e[c=1,name=CFredflag,score_CFage=1,r=6] CFdir 4}}, Command:blockdata ~10 ~1 ~ {Command:execute @e[name=CFredflag] ~ ~ ~ blockdata ~ ~ ~ {Base:1}}}, Command:blockdata ~10 ~3 ~ {Command:execute @e[name=CFredflag,score_CFflag=0] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~10 ~2 ~-1 {Command:execute @e[type=Squid,name=Flag] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:CFblueflag,NoGravity:1,Invisible:1}}}, Command:blockdata ~10 ~2 ~1 {Command:execute @e[type=Squid,name=Flag] ~ ~-1.4 ~ summon ArmorStand ~ ~ ~ {CustomName:CFbluepad,NoGravity:1,Invisible:1,Equipment:[{},{},{},{},{id:carpet,Damage:11s}]}}}, Command:blockdata ~1 ~-2 ~3 {Command:entitydata @e[name=Flag,type=Squid] {Silent:1,ActiveEffects:[{Id:14,Duration:100,ShowParticles:0b}]}}}, Command:blockdata ~1 ~ ~3 {Command:tp @e[name=Flag,type=Squid] ~ ~-500 ~}}, Command:blockdata ~1 ~-1 ~2 {Command:execute @a[ry=135,rym=45] ~ ~ ~ scoreboard players set @e[c=1,name=CFblueflag,score_CFage=1,r=6] CFdir 1}}, Command:blockdata ~1 ~-1 ~4 {Command:execute @a[ry=-135,rym=135] ~ ~ ~ scoreboard players set @e[c=1,name=CFblueflag,score_CFage=1,r=6] CFdir 2}}, Command:blockdata ~2 ~-2 ~3 {Command:execute @a[ry=-45,rym=-135] ~ ~ ~ scoreboard players set @e[c=1,name=CFblueflag,score_CFage=1,r=6] CFdir 3}}, Command:blockdata ~2 ~ ~3 {Command:execute @a[ry=45,rym=-45] ~ ~ ~ scoreboard players set @e[c=1,name=CFblueflag,score_CFage=1,r=6] CFdir 4}}, Command:blockdata ~2 ~-1 ~2 {Command:execute @e[name=CFblueflag] ~ ~ ~ blockdata ~ ~ ~ {Base:4}}}, Command:blockdata ~2 ~-1 ~4 {Command:execute @e[name=CFblueflag,score_CFflag=0] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~3 ~-2 ~3 {Command:scoreboard players set @a CFhold 0}}, Command:blockdata ~3 ~ ~3 {Command:scoreboard players set @a CFhold 1 {SelectedItem:{tag:{FakeTag:wrench}}}}}, Command:blockdata ~3 ~-1 ~2 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ execute @e[r=0,name=CFredflag] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~3 ~-1 ~4 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ execute @e[r=0,name=CFblueflag] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~4 ~-2 ~3 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ kill @e[r=0,name=CFredflag]}}, Command:blockdata ~4 ~ ~3 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ kill @e[r=0,name=CFblueflag]}}, Command:blockdata ~4 ~-1 ~2 {Command:execute @e[name=CFredflag,score_CFage=1] ~ ~ ~ execute @e[name=CFredflag,rm=1] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~4 ~-1 ~4 {Command:execute @e[name=CFredflag,score_CFage=1] ~ ~ ~ kill @e[name=CFredflag,score_CFage_min=2]}}, Command:blockdata ~5 ~-2 ~3 {Command:execute @e[name=CFblueflag,score_CFage=1] ~ ~ ~ execute @e[name=CFblueflag,rm=1] ~ ~ ~ setblock ~ ~ ~ air}}, Command:blockdata ~5 ~ ~3 {Command:execute @e[name=CFblueflag,score_CFage=1] ~ ~ ~ kill @e[name=CFblueflag,score_CFage_min=2]}}, Command:blockdata ~5 ~-1 ~2 {Command:execute @e[name=CFbluepad,score_CFage=1] ~ ~ ~ kill @e[name=CFbluepad,score_CFage_min=2]}}, Command:blockdata ~5 ~-1 ~4 {Command:execute @e[name=CFredpad,score_CFage=1] ~ ~ ~ kill @e[name=CFredpad,score_CFage_min=2]}}, Command:blockdata ~6 ~-2 ~3 {Command:execute @a[score_CFhold_min=1] ~ ~-1.4 ~ kill @e[r=0,name=CFredpad]}}, Command:blockdata ~6 ~ ~3 {Command:execute @a[score_CFhold_min=1] ~ ~-1.4 ~ kill @e[r=0,name=CFbluepad]}}, Command:blockdata ~6 ~-1 ~2 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ kill @e[name=CFflag]}}, Command:blockdata ~6 ~-1 ~4 {Command:execute @a[score_CFhold_min=1] ~ ~ ~ scoreboard players set @a CFflag 0}}, Command:blockdata ~7 ~-2 ~3 {Command:scoreboard players set @a[score_CFage=2] CFjoinred 0}}, Command:blockdata ~7 ~ ~3 {Command:scoreboard players set @a[score_CFage=2] CFleave 0}}, Command:blockdata ~7 ~-1 ~2 {Command:scoreboard players set @a[score_CFage=2] CFjoinblue 0}}, Command:blockdata ~7 ~-1 ~4 {CommandStats:{SuccessCountObjective:CFjoinred,SuccessCountName:@p},Command:execute @a ~ ~ ~ testforblock ~ ~-2 ~ dropper -1 {CustomName:Join Red}}}, Command:blockdata ~8 ~-2 ~3 {CommandStats:{SuccessCountObjective:CFjoinblue,SuccessCountName:@p},Command:execute @a ~ ~ ~ testforblock ~ ~-2 ~ dropper -1 {CustomName:Join Blue}}}, Command:blockdata ~8 ~ ~3 {CommandStats:{SuccessCountObjective:CFleave,SuccessCountName:@p},Command:execute @a ~ ~ ~ testforblock ~ ~-2 ~ dropper -1 {CustomName:Leave Teams}}}, Command:blockdata ~8 ~-1 ~2 {Command:scoreboard teams join CFred @a[score_CFjoinred_min=1]}}, Command:blockdata ~8 ~-1 ~4 {Command:scoreboard teams join CFblue @a[score_CFjoinblue_min=1]}}, Command:blockdata ~9 ~-2 ~3 {Command:scoreboard teams leave @a[score_CFleave_min=1]}}, Command:blockdata ~9 ~ ~3 {Command:execute @e[name=CFbluepad] ~ ~ ~ particle reddust ~ ~1.5 ~ -1 -1 1 1 0 force}}, Command:blockdata ~9 ~-1 ~2 {Command:execute @e[name=CFredpad] ~ ~ ~ particle reddust ~ ~1.5 ~ 1 0 0 1 0 force}}, Command:blockdata ~9 ~-1 ~4 {Command:execute @e[score_CFflag_min=2,score_CFflag=2] ~ ~ ~ particle iconcrack_160_11 ~ ~60 ~ 0 20 0 0 20 force}}, Command:blockdata ~10 ~-2 ~3 {Command:execute @e[score_CFflag_min=1,score_CFflag=1] ~ ~ ~ particle iconcrack_160_14 ~ ~60 ~ 0 20 0 0 20 force}}, Command:scoreboard objectives add CFhold dummy}, Command:scoreboard objectives add CFleave dummy}, Command:scoreboard objectives add CFjoinred dummy}, Command:scoreboard objectives add CFjoinblue dummy}, Command:scoreboard objectives add CFdeaths stat.deaths}, Command:scoreboard objectives add CFcaptured dummy Flags Captured}, Command:scoreboard objectives add CFstolen dummy Flags Stolen}, Command:scoreboard objectives add CFfound dummy Flags Found}, Command:scoreboard objectives add CFlost dummy Flags Lost}, Command:scoreboard objectives add CFretrieved dummy Flags Retrieved}, Command:scoreboard objectives add CFblock dummy}, Command:scoreboard objectives add CFflag dummy}, Command:scoreboard objectives add CFflagitem dummy}, Command:scoreboard objectives add CFdir dummy}, Command:scoreboard teams add CFred dummy Red Team}, Command:scoreboard teams add CFblue dummy Blue Team}, Command:scoreboard teams option CFred color dark_red}, Command:scoreboard teams option CFblue color blue}, Command:scoreboard objectives add CFage dummy}, Command:kill @e[type=MinecartCommandBlock,r=1]}