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 ~-3 ~13 ~4 ~3 stained_hardened_clay 11 hollow},{id:commandblock_minecart,Command:fill ~2 ~-3 ~ ~13 ~4 ~ stained_hardened_clay 15 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-3 ~13 ~3 ~3 stained_glass 5 0 stained_hardened_clay},{id:commandblock_minecart,Command:fill ~2 ~-2 ~ ~13 ~3 ~ stained_glass 15 0 stained_hardened_clay},{id:commandblock_minecart,Command:scoreboard teams add DoctorStrange},{id:commandblock_minecart,Command:scoreboard objectives add click stat.useItem.minecraft.carrot_on_a_stick},{id:commandblock_minecart,Command:scoreboard objectives add sneak stat.sneakTime },{id:commandblock_minecart,Command:scoreboard objectives add sprint stat.sprintOneCm},{id:commandblock_minecart,Command:scoreboard objectives add slot dummy},{id:commandblock_minecart,Command:scoreboard objectives add holdmagic dummy},{id:commandblock_minecart,Command:scoreboard objectives add Lholdmagic dummy},{id:commandblock_minecart,Command:scoreboard objectives add Mholdmagic dummy},{id:commandblock_minecart,Command:scoreboard objectives add ismagic dummy},{id:commandblock_minecart,Command:scoreboard objectives add delay dummy},{id:commandblock_minecart,Command:scoreboard objectives add cooltime dummy},{id:commandblock_minecart,Command:scoreboard objectives add cooltime2 dummy},{id:commandblock_minecart,Command:scoreboard objectives add portalno dummy},{id:commandblock_minecart,Command:scoreboard objectives add noup dummy},{id:commandblock_minecart,Command:scoreboard objectives add energyspell dummy},{id:commandblock_minecart,Command:scoreboard objectives add death deathCount},{id:commandblock_minecart,Command:scoreboard objectives add xT dummy},{id:commandblock_minecart,Command:scoreboard objectives add zT dummy},{id:commandblock_minecart,Command:scoreboard objectives add NxT dummy},{id:commandblock_minecart,Command:scoreboard objectives add NzT dummy},{id:commandblock_minecart,Command:scoreboard objectives add NyT dummy},{id:commandblock_minecart,Command:setblock ~1 ~1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"---------------\\\",\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"Doctor Strange\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"by MarkNeco_24\\\",\\\"color\\\":\\\"gold\\\"}",Text4:"{\\\"text\\\":\\\"---------------\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-4 ~-3 ~12 ~3 ~3 air\\\"},\\\"bold\\\":true}"}},{id:commandblock_minecart,Command:fill ~3 ~-2 ~-2 ~12 ~3 ~2 chain_command_block 5},{id:commandblock_minecart,Command:setblock ~12 ~3 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~3 ~1 chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~3 ~2 chain_command_block 2},{id:commandblock_minecart,Command:fill ~12 ~3 ~2 ~4 ~3 ~2 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~2 ~2 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~2 ~1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~2 ~1 ~4 ~2 ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~2 ~ chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~2 ~-1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~2 ~-1 ~4 ~2 ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~2 ~-2 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~1 ~-2 chain_command_block 1},{id:commandblock_minecart,Command:fill ~12 ~1 ~-2 ~4 ~1 ~-2 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~1 ~-1 chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~1 ~ chain_command_block 2},{id:commandblock_minecart,Command:fill ~12 ~1 ~ ~4 ~1 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~1 ~1 chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~1 ~2 chain_command_block 2},{id:commandblock_minecart,Command:fill ~12 ~1 ~2 ~4 ~1 ~2 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~ ~2 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~ ~1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~ ~1 ~4 ~ ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~ ~ chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~ ~-1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~ ~-1 ~4 ~ ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~ ~-2 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~-2 chain_command_block 1},{id:commandblock_minecart,Command:fill ~12 ~-1 ~-2 ~4 ~-1 ~-2 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~-1 ~-1 chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~ chain_command_block 2},{id:commandblock_minecart,Command:fill ~12 ~-1 ~ ~4 ~-1 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~-1 ~1 chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~2 chain_command_block 2},{id:commandblock_minecart,Command:fill ~12 ~-1 ~2 ~4 ~-1 ~2 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~-2 ~2 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~-2 ~1 ~4 ~-2 ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~-2 ~ chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~-1 chain_command_block 3},{id:commandblock_minecart,Command:fill ~12 ~-2 ~-1 ~4 ~-2 ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~12 ~-2 ~-2 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~-2 repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~12 ~3 ~ {auto:1,Command:scoreboard players set @a sneak 0}},{id:commandblock_minecart,Command:blockdata ~12 ~3 ~1 {auto:1,Command:scoreboard players set @a click 0}},{id:commandblock_minecart,Command:blockdata ~11 ~3 ~1 {auto:1,Command:scoreboard players set @a sprint 0}},{id:commandblock_minecart,Command:blockdata ~10 ~3 ~1 {auto:1,Command:scoreboard players set @a[score_Lholdmagic_min=6] Mholdmagic 2}},{id:commandblock_minecart,Command:blockdata ~9 ~3 ~1 {auto:1,Command:scoreboard players set @a[score_holdmagic_min=6] Mholdmagic 2}},{id:commandblock_minecart,Command:blockdata ~8 ~3 ~1 {auto:1,Command:scoreboard players set @a[score_Lholdmagic_min=1] Mholdmagic 1}},{id:commandblock_minecart,Command:blockdata ~7 ~3 ~1 {auto:1,Command:scoreboard players set @a[score_holdmagic_min=1] Mholdmagic 1}},{id:commandblock_minecart,Command:blockdata ~6 ~3 ~1 {auto:1,Command:scoreboard players set @a Mholdmagic 0}},{id:commandblock_minecart,Command:blockdata ~5 ~3 ~1 {auto:1,Command:execute @a[score_sneak_min=1] ~ ~ ~ kill @e[r=1,score_ismagic_min=1]}},{id:commandblock_minecart,Command:blockdata ~4 ~3 ~1 {auto:1,Command:execute @a[score_sneak_min=1] ~ ~ ~ execute @e[r=1,score_ismagic_min=9,score_ismagic=9] ~ ~ ~ scoreboard players remove @e[score_ismagic_min=9,score_ismagic=9] portalno 1}},{id:commandblock_minecart,Command:blockdata ~3 ~3 ~1 {auto:1,Command:execute @a[score_sneak_min=1] ~ ~ ~ execute @e[r=1,score_ismagic_min=1] ~ ~ ~ playsound minecraft:block.fire.extinguish ambient @a}},{id:commandblock_minecart,Command:blockdata ~3 ~3 ~2 {auto:1,Command:scoreboard players set @a[team=!DoctorStrange] Lholdmagic 0}},{id:commandblock_minecart,Command:blockdata ~4 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 10 {Inventory:[{Slot:-106b,id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 9 {Inventory:[{Slot:-106b,id:\\\"minecraft:iron_pickaxe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 8 {Inventory:[{Slot:-106b,id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~7 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 7 {Inventory:[{Slot:-106b,id:\\\"minecraft:snowball\\\",tag:{HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~8 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 6 {Inventory:[{Slot:-106b,id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 5 {Inventory:[{Slot:-106b,id:\\\"minecraft:carrot_on_a_stick\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 4 {Inventory:[{Slot:-106b,id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 3 {Inventory:[{Slot:-106b,id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~3 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 2 {Inventory:[{Slot:-106b,id:\\\"minecraft:diamond_sword\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Attack Spell\\\"},ench:[{id:71,lvl:1},{lvl:50,id:16},{lvl:50,id:17},{lvl:5,id:19},{lvl:100,id:20},{lvl:32767,id:70}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~2 ~2 {auto:1,Command:"scoreboard players set @a Lholdmagic 1 {Inventory:[{Slot:-106b,id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~2 ~2 {auto:1,Command:scoreboard players set @a Lholdmagic 0}},{id:commandblock_minecart,Command:blockdata ~10 ~2 ~2 {auto:1,Command:scoreboard players set @a[team=!DoctorStrange] holdmagic 0}},{id:commandblock_minecart,Command:blockdata ~9 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 10 {SelectedItem:{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~8 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 9 {SelectedItem:{id:\\\"minecraft:iron_pickaxe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~7 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 8 {SelectedItem:{id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~6 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 7 {SelectedItem:{id:\\\"minecraft:snowball\\\",tag:{HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~5 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 6 {SelectedItem:{id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~4 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 5 {SelectedItem:{id:\\\"minecraft:carrot_on_a_stick\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~3 ~2 ~2 {auto:1,Command:"scoreboard players set @a holdmagic 4 {SelectedItem:{id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~3 ~2 ~1 {auto:1,Command:"scoreboard players set @a holdmagic 3 {SelectedItem:{id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~4 ~2 ~1 {auto:1,Command:"scoreboard players set @a holdmagic 2 {SelectedItem:{id:\\\"minecraft:diamond_sword\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Attack Spell\\\"},ench:[{id:71,lvl:1},{lvl:50,id:16},{lvl:50,id:17},{lvl:5,id:19},{lvl:100,id:20},{lvl:32767,id:70}]}}}"}},{id:commandblock_minecart,Command:blockdata ~5 ~2 ~1 {auto:1,Command:"scoreboard players set @a holdmagic 1 {SelectedItem:{id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~6 ~2 ~1 {auto:1,Command:scoreboard players set @a holdmagic 0}},{id:commandblock_minecart,Command:blockdata ~7 ~2 ~1 {auto:1,Command:scoreboard players set @a death 0}},{id:commandblock_minecart,Command:blockdata ~8 ~2 ~1 {auto:1,Command:scoreboard players tag @a[tag=flying,score_death_min=1] remove flying}},{id:commandblock_minecart,Command:blockdata ~9 ~2 ~1 {auto:1,Command:scoreboard players tag @a[tag=flying,score_NyT=0,rxm=80,rx=90,score_sneak_min=1] remove flying}},{id:commandblock_minecart,Command:blockdata ~10 ~2 ~1 {auto:1,Command:execute @a[tag=flying,score_NyT=0,rxm=80,rx=90,score_sneak_min=1] ~ ~ ~ playsound minecraft:entity.blaze.death ambient @a ~ ~ ~ 10 1.5}},{id:commandblock_minecart,Command:blockdata ~11 ~2 ~1 {auto:1,Command:execute @a[tag=flying,score_NyT=0,rxm=80,rx=90,score_sneak_min=1] ~ ~ ~ kill @e[r=2,score_energyspell_min=1]}},{id:commandblock_minecart,Command:blockdata ~12 ~2 ~1 {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=-67,ry=-23,score_slot_min=5,score_xT_min=1,score_zT_min=1] ~.3535 ~ ~.3535}},{id:commandblock_minecart,Command:blockdata ~12 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=-113,ry=-67,score_slot_min=5,score_xT_min=1] ~.5 ~ ~}},{id:commandblock_minecart,Command:blockdata ~11 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=-157,ry=-113,score_slot_min=5,score_xT_min=1,score_NzT_min=1] ~.3535 ~ ~-.3535}},{id:commandblock_minecart,Command:blockdata ~10 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=157,ry=-157,score_slot_min=5,score_NzT_min=1] ~ ~ ~-.5}},{id:commandblock_minecart,Command:blockdata ~9 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=113,ry=157,score_slot_min=5,score_NxT_min=1,score_NzT_min=1] ~-.3535 ~ ~-.3535}},{id:commandblock_minecart,Command:blockdata ~8 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=67,ry=113,score_slot_min=5,score_NxT_min=1] ~-.5 ~ ~}},{id:commandblock_minecart,Command:blockdata ~7 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=23,ry=67,score_slot_min=5,score_NxT_min=1,score_zT_min=1] ~-.3535 ~ ~.3535}},{id:commandblock_minecart,Command:blockdata ~6 ~2 ~ {auto:1,Command:tp @a[tag=flying,score_sneak_min=1,rym=-23,ry=23,score_slot_min=5,score_zT_min=1] ~ ~ ~.5}},{id:commandblock_minecart,Command:blockdata ~5 ~2 ~ {auto:1,Command:effect @a[tag=flying,score_sneak_min=1,rxm=10,rx=90,score_slot=5] levitation 1 250 true}},{id:commandblock_minecart,Command:blockdata ~4 ~2 ~ {auto:1,Command:effect @a[tag=flying,score_sneak_min=1,rxm=10,rx=90,score_slot=5] levitation 0}},{id:commandblock_minecart,Command:blockdata ~3 ~2 ~ {auto:1,Command:effect @a[tag=flying,score_sneak_min=1,rx=-10,rxm=-90,score_slot=5] levitation 1 3 true}},{id:commandblock_minecart,Command:blockdata ~3 ~2 ~-1 {auto:1,Command:effect @a[tag=flying,score_sneak_min=1,rx=-10,rxm=-90,score_slot=5] levitation 0}},{id:commandblock_minecart,Command:blockdata ~4 ~2 ~-1 {auto:1,Command:effect @a[tag=flying] levitation 1 255 true}},{id:commandblock_minecart,Command:blockdata ~5 ~2 ~-1 {auto:1,Command:effect @a[tag=flying] levitation 0}},{id:commandblock_minecart,Command:blockdata ~6 ~2 ~-1 {auto:1,Command:effect @a[tag=flying] jump_boost 1 255 true}},{id:commandblock_minecart,Command:blockdata ~7 ~2 ~-1 {auto:1,Command:execute @a[tag=flying] ~ ~ ~ tp @e[score_energyspell_min=1,c=1] @p[team=DoctorStrange,tag=flying]}},{id:commandblock_minecart,Command:blockdata ~8 ~2 ~-1 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ scoreboard players tag @a[score_sneak_min=1,r=2,m=!3,team=DoctorStrange] add flying}},{id:commandblock_minecart,Command:blockdata ~9 ~2 ~-1 {auto:1,Command:scoreboard players set @a[tag=flying] cooltime2 0}},{id:commandblock_minecart,Command:blockdata ~10 ~2 ~-1 {auto:1,Command:scoreboard players set @a[score_cooltime2_min=60] cooltime2 0}},{id:commandblock_minecart,Command:blockdata ~11 ~2 ~-1 {auto:1,Command:scoreboard players set @a[score_cooltime_min=60] cooltime 0}},{id:commandblock_minecart,Command:blockdata ~12 ~2 ~-1 {auto:1,Command:execute @a[score_cooltime2_min=61] ~ ~ ~ kill @e[score_energyspell_min=1,r=3] }},{id:commandblock_minecart,Command:blockdata ~12 ~2 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ gamemode 0 @a[team=DoctorStrange,score_cooltime2_min=61,m=3,r=2]}},{id:commandblock_minecart,Command:blockdata ~11 ~2 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ gamemode 3 @a[team=DoctorStrange,score_cooltime2_min=60,m=0,r=2,score_holdmagic_min=1,score_holdmagic=1,score_Lholdmagic_min=10,score_Lholdmagic=10]}},{id:commandblock_minecart,Command:blockdata ~10 ~2 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ scoreboard players set @a[team=DoctorStrange,score_cooltime2_min=60,m=3,r=2] cooltime2 61}},{id:commandblock_minecart,Command:blockdata ~9 ~2 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ execute @a[score_cooltime2_min=60,r=2] ~ ~ ~ playsound minecraft:entity.wither.death ambient @a ~ ~ ~ 10 2}},{id:commandblock_minecart,Command:blockdata ~8 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_Lholdmagic_min=10,score_Lholdmagic=10] ~ ~ ~ playsound minecraft:block.fire.extinguish ambient @a}},{id:commandblock_minecart,Command:blockdata ~7 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60] ~ ~ ~ particle portal ~ ~1 ~ 1 1 1 0.001 1000}},{id:commandblock_minecart,Command:blockdata ~6 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60] ~ ~ ~ playsound minecraft:entity.endermen.teleport ambient @a}},{id:commandblock_minecart,Command:blockdata ~5 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_Lholdmagic_min=10,score_Lholdmagic=10] ~ ~ ~ scoreboard players remove @e[score_ismagic_min=9,score_ismagic=9] portalno 1}},{id:commandblock_minecart,Command:blockdata ~4 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=9] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=9,score_portalno=9]}},{id:commandblock_minecart,Command:blockdata ~3 ~2 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=8,score_slot=8] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=8,score_portalno=8]}},{id:commandblock_minecart,Command:blockdata ~3 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=7,score_slot=7] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=7,score_portalno=7]}},{id:commandblock_minecart,Command:blockdata ~4 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=6,score_slot=6] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=6,score_portalno=6]}},{id:commandblock_minecart,Command:blockdata ~5 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=4,score_slot=4] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=4,score_portalno=4]}},{id:commandblock_minecart,Command:blockdata ~6 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=5,score_slot=5] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=5,score_portalno=5]}},{id:commandblock_minecart,Command:blockdata ~7 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=3,score_slot=3] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=3,score_portalno=3]}},{id:commandblock_minecart,Command:blockdata ~8 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=2,score_slot=2] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=2,score_portalno=2]}},{id:commandblock_minecart,Command:blockdata ~9 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_slot_min=1,score_slot=1] ~ ~ ~ tp @p @e[score_ismagic_min=9,score_ismagic=9,rm=5,score_portalno_min=1,score_portalno=1]}},{id:commandblock_minecart,Command:blockdata ~10 ~1 ~-2 {auto:1,Command:execute @a[score_cooltime_min=60,score_Lholdmagic_min=10,score_Lholdmagic=10] ~ ~ ~ kill @e[r=5,score_ismagic_min=9,score_ismagic=9]}},{id:commandblock_minecart,Command:blockdata ~11 ~1 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ scoreboard players add @a[team=DoctorStrange,m=3,r=2] cooltime2 1}},{id:commandblock_minecart,Command:blockdata ~12 ~1 ~-2 {auto:1,Command:execute @e[score_energyspell_min=1] ~ ~ ~ scoreboard players add @a[team=DoctorStrange,m=0,r=2,score_holdmagic_min=1,score_holdmagic=1,score_Lholdmagic_min=10,score_Lholdmagic=10] cooltime2 1}},{id:commandblock_minecart,Command:blockdata ~12 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=9,score_ismagic=9] ~ ~ ~ scoreboard players add @a[team=DoctorStrange,r=2] cooltime 1}},{id:commandblock_minecart,Command:blockdata ~11 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=7,score_ismagic=7] ~ ~ ~ tp @e[type=!item,team=!DoctorStrange,r=10] @e[score_ismagic_min=7,score_ismagic=7,c=1]}},{id:commandblock_minecart,Command:blockdata ~10 ~1 ~-1 {auto:1,Command:kill @e[score_ismagic_min=6,score_ismagic=6,score_delay_min=100]}},{id:commandblock_minecart,Command:blockdata ~9 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=6,score_ismagic=6,score_delay_min=100] ~ ~ ~ playsound minecraft:entity.ghast.shoot ambient @a ~ ~ ~ 10 0}},{id:commandblock_minecart,Command:blockdata ~8 ~1 ~-1 {auto:1,Command:execute @e[name=fireball] ~ ~ ~ particle flame ~ ~ ~ .1 .1 .1 0.0001 100 force}},{id:commandblock_minecart,Command:blockdata ~7 ~1 ~-1 {auto:1,Command:"execute @e[score_ismagic_min=6,score_ismagic=6,score_delay_min=100] ~ ~ ~ summon fireball ~ ~10 ~ {direction:[0.0,-1.0,0.0],power:[0.0,-5.0,0.0],Life:1,ExplosionPower:20,CustomName:\\\"fireball\\\"}"}},{id:commandblock_minecart,Command:blockdata ~6 ~1 ~-1 {auto:1,Command:kill @e[score_ismagic_min=4,score_ismagic=4,score_delay_min=50]}},{id:commandblock_minecart,Command:blockdata ~5 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=4,score_ismagic=4,score_delay_min=50] ~ ~ ~ particle flame ~ ~ ~ .1 .1 .1 1 10000 force}},{id:commandblock_minecart,Command:blockdata ~4 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=4,score_ismagic=4,score_delay_min=50] ~ ~ ~ execute @e[r=5] ~ ~ ~ playsound minecraft:block.fire.extinguish ambient @a[r=5]}},{id:commandblock_minecart,Command:blockdata ~3 ~1 ~-1 {auto:1,Command:execute @e[score_ismagic_min=4,score_ismagic=4,score_delay_min=50] ~ ~ ~ entitydata @e[team=!DoctorStrange,r=5] {Fire:100s}}},{id:commandblock_minecart,Command:blockdata ~3 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=4,score_ismagic=4,score_delay_min=50] ~ ~ ~ execute @e[team=!DoctorStrange,r=5] ~ ~ ~ setblock ~ ~ ~ fire}},{id:commandblock_minecart,Command:blockdata ~4 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=3,score_ismagic=3] ~ ~ ~ execute @a[team=!DoctorStrange,r=5] ~ ~ ~ tp @p @e[c=1,type=armor_stand,name=STOP]}},{id:commandblock_minecart,Command:blockdata ~5 ~1 ~ {auto:1,Command:execute @e[name=STOP] ~ ~ ~ tp @e[name=STOP,r=1] @p}},{id:commandblock_minecart,Command:blockdata ~6 ~1 ~ {auto:1,Command:"execute @e[score_ismagic_min=3,score_ismagic=3] ~ ~ ~ execute @a[team=!DoctorStrange,r=5] ~ ~ ~ summon armor_stand ~ ~ ~ {CustomName:\\\"STOP\\\",NoGravity:1b,Invisible:1,Invulnerable:1}"}},{id:commandblock_minecart,Command:blockdata ~7 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=3,score_ismagic=3] ~ ~ ~ entitydata @e[r=5] {NoAI:1,Silent:1,Motion:[0.0,0.0,0.0]}}},{id:commandblock_minecart,Command:blockdata ~8 ~1 ~ {auto:1,Command:kill @e[name=STOP]}},{id:commandblock_minecart,Command:blockdata ~9 ~1 ~ {auto:1,Command:kill @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100]}},{id:commandblock_minecart,Command:blockdata ~10 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~11 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~12 ~1 ~ {auto:1,Command:execute @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~12 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~11 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=5,score_ismagic=5,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~10 ~1 ~1 {auto:1,Command:kill @e[score_ismagic_min=2,score_ismagic=2,score_delay_min=100]}},{id:commandblock_minecart,Command:blockdata ~9 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=2,score_ismagic=2,score_delay_min=100] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon tnt}},{id:commandblock_minecart,Command:blockdata ~8 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=2,score_ismagic=2,score_delay_min=100] ~ ~ ~ playsound minecraft:entity.wither.hurt ambient @a ~ ~ ~ 10 0.1}},{id:commandblock_minecart,Command:blockdata ~7 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=2,score_ismagic=2,score_delay_min=100] ~ ~ ~ particle fireworksSpark ~ ~ ~ .1 .1 .1 1 1000 force}},{id:commandblock_minecart,Command:blockdata ~6 ~1 ~1 {auto:1,Command:execute @e[score_ismagic_min=1,score_ismagic=1] ~ ~ ~ effect @a[r=5] regeneration 100 10 true}},{id:commandblock_minecart,Command:blockdata ~5 ~1 ~1 {auto:1,Command:scoreboard players add @e[score_ismagic_min=1] delay 1}},{id:commandblock_minecart,Command:blockdata ~4 ~1 ~1 {auto:1,Command:execute @a[score_sneak_min=1] ~ ~ ~ entitydata @e {NoAI:0,Silent:0}}},{id:commandblock_minecart,Command:blockdata ~3 ~1 ~1 {auto:1,Command:effect @a[score_Lholdmagic_min=9,score_Lholdmagic=9] haste 1 10 true}},{id:commandblock_minecart,Command:blockdata ~3 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=9,score_Lholdmagic=9] jump_boost 1 5 true}},{id:commandblock_minecart,Command:blockdata ~4 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=9,score_Lholdmagic=9,score_sprint_min=1] speed 1 10 true}},{id:commandblock_minecart,Command:blockdata ~5 ~1 ~2 {auto:1,Command:effect @a[score_holdmagic_min=7,score_holdmagic=7] water_breathing 1 5 true}},{id:commandblock_minecart,Command:blockdata ~6 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=7,score_Lholdmagic=7] night_vision 11 5 true}},{id:commandblock_minecart,Command:blockdata ~7 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=4,score_Lholdmagic=4] fire_resistance 1 5 true}},{id:commandblock_minecart,Command:blockdata ~8 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=3,score_Lholdmagic=3] jump_boost 1 255 true}},{id:commandblock_minecart,Command:blockdata ~9 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=3,score_Lholdmagic=3] resistance 1 3 true}},{id:commandblock_minecart,Command:blockdata ~10 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=2,score_Lholdmagic=2] strength 1 9 true}},{id:commandblock_minecart,Command:blockdata ~11 ~1 ~2 {auto:1,Command:effect @a[score_Lholdmagic_min=1,score_Lholdmagic=1] regeneration 1 2 true}},{id:commandblock_minecart,Command:blockdata ~12 ~1 ~2 {auto:1,Command:effect @a[score_holdmagic_min=9,score_holdmagic=9] haste 1 10 true}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=9,score_holdmagic=9] jump_boost 1 5 true}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=9,score_holdmagic=9,score_sprint_min=1] speed 1 10 true}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=7,score_holdmagic=7] water_breathing 1 5 true}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=7,score_holdmagic=7] night_vision 11 5 true}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=4,score_holdmagic=4] fire_resistance 1 5 true}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=3,score_holdmagic=3] absorbation 1 20 true}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=3,score_holdmagic=3] jump_boost 1 255 true}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=3,score_holdmagic=3] resistance 1 3 true}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=2,score_holdmagic=2] strength 1 9 true}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~2 {auto:1,Command:effect @a[score_holdmagic_min=1,score_holdmagic=1] regeneration 1 2 true}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~1 {auto:1,Command:execute @a[score_holdmagic_min=8,score_holdmagic=8,score_sneak_min=1] ~ ~ ~ tp @e[type=xp_orb,r=10] @a[score_holdmagic_min=8,score_holdmagic=8,score_sneak_min=1]}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~1 {auto:1,Command:execute @a[score_Lholdmagic_min=8,score_Lholdmagic=8,score_sneak_min=1] ~ ~ ~ tp @e[type=xp_orb,r=10] @a[score_Lholdmagic_min=8,score_Lholdmagic=8,score_sneak_min=1]}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~1 {auto:1,Command:execute @a[score_holdmagic_min=8,score_holdmagic=8,score_sneak_min=1] ~ ~ ~ tp @e[type=item,r=10] @a[score_holdmagic_min=8,score_holdmagic=8,score_sneak_min=1]}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~1 {auto:1,Command:execute @a[score_Lholdmagic_min=8,score_Lholdmagic=8,score_sneak_min=1] ~ ~ ~ tp @e[type=item,r=10] @a[score_Lholdmagic_min=8,score_Lholdmagic=8,score_sneak_min=1]}},{id:commandblock_minecart,Command:summon Falling_block ~ ~2 ~ {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]}]}]}]}