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:blockdata ~7 ~ ~1 {auto:1,Command:execute @a[score_Mholdmagic_min=1,score_click_min=1] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~1 {auto:1,Command:execute @a[score_Mholdmagic_min=1,score_click_min=1] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~1 {auto:1,Command:execute @a[score_Mholdmagic_min=1,score_click_min=1] ~ ~ ~ execute @e[team=!DoctorStrange,r=10] ~ ~ ~ summon lightning_bolt}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~1 {auto:1,Command:effect @a[score_Mholdmagic_min=1,score_click_min=1] fire_resistance 1 5 true}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~1 {auto:1,Command:effect @a[score_Mholdmagic_min=1,score_click_min=1] resistance 1 5 true}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~1 {auto:1,Command:execute @a[score_Mholdmagic_min=2] ~ ~1 ~ kill @e[type=ender_pearl,r=2] }},{id:commandblock_minecart,Command:"tellraw @p [\"\",{\"text\":\"Doctor Strange One Command\",\"color\":\"green\",\"bold\":true},{\"text\":\" by MarkNeco_24\",\"color\":\"gold\",\"bold\":false},{\"text\":\"\\n[download resourcepack]\",\"color\":\"aqua\",\"bold\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://www.mediafire.com/file/1nfn85rnosj61n4/Doctor_Strange_Resource_Pack_by_MarkNeco_24.zip\"}}]"},{id:commandblock_minecart,Command:blockdata ~12 ~ ~ {auto:1,Command:execute @a[score_Mholdmagic_min=2] ~ ~1 ~ execute @e[type=ender_pearl,r=2] ~ ~ ~ summon fireball ~ ~ ~ {direction:[0.0,0.0,0.0],Life:1,ExplosionPower:10} }},{id:commandblock_minecart,Command:blockdata ~11 ~ ~ {auto:1,Command:execute @a[score_Mholdmagic_min=2] ~ ~1 ~ execute @e[type=snowball,r=2] ~ ~ ~ summon fireball ~ ~ ~ {direction:[0.0,0.0,0.0],Life:1,ExplosionPower:1} }},{id:commandblock_minecart,Command:blockdata ~10 ~ ~ {auto:1,Command:kill @e[score_portalno_min=10]}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~ {auto:1,Command:execute @e[score_noup_min=1] ~ ~ ~ scoreboard players add @e[score_ismagic_min=9,score_ismagic=9] portalno 1}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~ {auto:1,Command:"scoreboard players set @e[type=item] noup 1 {OnGround:1b,Item:{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~ {auto:1,Command:scoreboard players set @e[type=item] noup 0}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~ {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic10] iron_axe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~ {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic9] iron_pickaxe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~ {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic8] iron_shovel 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~ {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic7] snowball 1 0 {HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic6] ender_pearl 1 0 {HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic5] carrot_on_a_stick 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic4] flint_and_steel 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic3] shield 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic2] diamond_sword 1 0 {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 ~8 ~ ~-1 {auto:1,Command:"give @a[team=DoctorStrange,tag=!magic1] totem 1 0 {HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~-1 {auto:1,Command:"scoreboard players tag @a add magic10 {Inventory:[{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~-1 {auto:1,Command:"scoreboard players tag @a add magic9 {Inventory:[{id:\\\"minecraft:iron_pickaxe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~-1 {auto:1,Command:"scoreboard players tag @a add magic8 {Inventory:[{id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~-1 {auto:1,Command:"scoreboard players tag @a add magic7 {Inventory:[{id:\\\"minecraft:snowball\\\",tag:{HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic6 {Inventory:[{id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic5 {Inventory:[{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 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic4 {Inventory:[{id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic3 {Inventory:[{id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic2 {Inventory:[{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 ~7 ~ ~-2 {auto:1,Command:"scoreboard players tag @a add magic1 {Inventory:[{id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~-2 {auto:1,Command:scoreboard players tag @a remove magic10}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~-2 {auto:1,Command:scoreboard players tag @a remove magic9}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~-2 {auto:1,Command:scoreboard players tag @a remove magic8}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~-2 {auto:1,Command:scoreboard players tag @a remove magic7}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic6}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic5}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic4}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic3}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic2}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~-2 {auto:1,Command:scoreboard players tag @a remove magic1}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~-2 {auto:1,Command:"replaceitem entity @a[tag=!magic10,score_Lholdmagic_min=10,score_Lholdmagic=10] slot.weapon.offhand iron_axe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~-2 {auto:1,Command:"replaceitem entity @a[tag=!magic9,score_Lholdmagic_min=9,score_Lholdmagic=9] slot.weapon.offhand iron_pickaxe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~-2 {auto:1,Command:"replaceitem entity @a[tag=!magic8,score_Lholdmagic_min=8,score_Lholdmagic=8] slot.weapon.offhand iron_shovel 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~-2 {auto:1,Command:"replaceitem entity @a[tag=!magic7,score_Lholdmagic_min=7,score_Lholdmagic=7] slot.weapon.offhand snowball 1 0 {HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic6,score_Lholdmagic_min=6,score_Lholdmagic=6] slot.weapon.offhand ender_pearl 1 0 {HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic5,score_Lholdmagic_min=5,score_Lholdmagic=5] slot.weapon.offhand carrot_on_a_stick 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic4,score_Lholdmagic_min=4,score_Lholdmagic=4] slot.weapon.offhand flint_and_steel 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic3,score_Lholdmagic_min=3,score_Lholdmagic=3] slot.weapon.offhand shield 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic2,score_Lholdmagic_min=2,score_Lholdmagic=2] slot.weapon.offhand diamond_sword 1 0 {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 ~7 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic1,score_Lholdmagic_min=1,score_Lholdmagic=1] slot.weapon.offhand totem 1 0 {HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic10,score_holdmagic_min=10,score_holdmagic=10] slot.weapon.mainhand iron_axe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic9,score_holdmagic_min=9,score_holdmagic=9] slot.weapon.mainhand iron_pickaxe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic8,score_holdmagic_min=8,score_holdmagic=8] slot.weapon.mainhand iron_shovel 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~-1 {auto:1,Command:"replaceitem entity @a[tag=!magic7,score_holdmagic_min=7,score_holdmagic=7] slot.weapon.mainhand snowball 1 0 {HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic6,score_holdmagic_min=6,score_holdmagic=6] slot.weapon.mainhand ender_pearl 1 0 {HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic5,score_holdmagic_min=5,score_holdmagic=5] slot.weapon.mainhand carrot_on_a_stick 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic4,score_holdmagic_min=4,score_holdmagic=4] slot.weapon.mainhand flint_and_steel 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic3,score_holdmagic_min=3,score_holdmagic=3] slot.weapon.mainhand shield 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic2,score_holdmagic_min=2,score_holdmagic=2] slot.weapon.mainhand diamond_sword 1 0 {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 ~8 ~-1 ~ {auto:1,Command:"replaceitem entity @a[tag=!magic1,score_holdmagic_min=1,score_holdmagic=1] slot.weapon.mainhand totem 1 0 {HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~ {auto:1,Command:"scoreboard players tag @a add magic10 {Inventory:[{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~ {auto:1,Command:"scoreboard players tag @a add magic9 {Inventory:[{id:\\\"minecraft:iron_pickaxe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~ {auto:1,Command:"scoreboard players tag @a add magic8 {Inventory:[{id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~ {auto:1,Command:"scoreboard players tag @a add magic7 {Inventory:[{id:\\\"minecraft:snowball\\\",tag:{HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic6 {Inventory:[{id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic5 {Inventory:[{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 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic4 {Inventory:[{id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic3 {Inventory:[{id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic2 {Inventory:[{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 ~7 ~-1 ~1 {auto:1,Command:"scoreboard players tag @a add magic1 {Inventory:[{id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}]}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:scoreboard players tag @a remove magic10}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:scoreboard players tag @a remove magic9}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:scoreboard players tag @a remove magic8}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:scoreboard players tag @a remove magic7}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic6}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic5}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic4}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic3}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic2}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~2 {auto:1,Command:scoreboard players tag @a remove magic1}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~2 {auto:1,Command:entitydata @e[score_energyspell_min=1] {Motion:[0.0,0.0,0.0],Item:{},Health:32767,PickupDelay:1000000,Age:1}}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~2 {auto:1,Command:entitydata @e[score_ismagic_min=1,score_ismagic=9] {NoGravity:1b,Motion:[0.0,0.0,0.0],Item:{},Health:32767,PickupDelay:1000000,Age:1}}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~2 {auto:1,Command:"scoreboard players set @e[type=item] energyspell 1 {Item:{id:\\\"minecraft:snowball\\\",tag:{HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 9 {OnGround:1b,Item:{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 7 {OnGround:1b,Item:{id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 6 {OnGround:1b,Item:{id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 5 {OnGround:1b,Item:{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 ~9 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 4 {OnGround:1b,Item:{id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 3 {OnGround:1b,Item:{id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 2 {OnGround:1b,Item:{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 ~6 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item] ismagic 1 {OnGround:1b,Item:{id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:iron_axe\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:iron_shovel\\\",tag:{Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~2 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:ender_pearl\\\",tag:{HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{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 ~4 ~-2 ~1 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:flint_and_steel\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:shield\\\",tag:{HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{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 ~7 ~-2 ~1 {auto:1,Command:"scoreboard players set @e[type=item,score_ismagic_min=10] ismagic 10 {Item:{id:\\\"minecraft:totem\\\",tag:{HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}}}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~1 {auto:1,Command:effect @a[team=DoctorStrange] saturation 1 255 true}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~1 {auto:1,Command:playsound minecraft:entity.elder_guardian.curse ambient @a[score_delay_min=100,score_delay=100] ~ ~ ~ 10 2}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~1 {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] iron_axe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Portal Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~1 {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] iron_pickaxe 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Boost Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~1 {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] iron_shovel 1 0 {Unbreakable:1,HideFlags:63,display:{Name:\\\"Collect Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] snowball 1 0 {HideFlags:63,display:{Name:\\\"Energy Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] ender_pearl 1 0 {HideFlags:63,display:{Name:\\\"Fireball Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] carrot_on_a_stick 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Lightning Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] flint_and_steel 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Fire Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] shield 1 0 {HideFlags:63,Unbreakable:1,display:{Name:\\\"Defend Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] diamond_sword 1 0 {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 ~6 ~-2 ~ {auto:1,Command:"give @a[score_delay_min=100,score_delay=100] totem 1 0 {HideFlags:63,display:{Name:\\\"Rebirth Spell\\\"},ench:[{id:71,lvl:1}]}"}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:execute @a[score_delay_min=100,score_delay=100] ~ ~ ~ /particle enchantmenttable ~ ~ ~ 1 1 1 0.0001 1000 force}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:execute @a[score_delay_min=100,score_delay=100] ~ ~ ~ /particle totem ~ ~ ~ 1 1 1 0.0001 1000 force}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:scoreboard teams join DoctorStrange @a[score_delay_min=101]}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:execute @a ~ ~ ~ detect ~1 ~ ~ enchanting_table 0 /execute @p ~ ~ ~ detect ~-1 ~ ~ enchanting_table 0 /execute @p ~ ~ ~ detect ~ ~ ~1 enchanting_table 0 /execute @p ~ ~ ~ detect ~ ~ ~-1 enchanting_table 0 /execute @p ~ ~ ~ detect ~1 ~ ~1 stained_glass 5 /execute @p ~ ~ ~ detect ~-1 ~ ~1 stained_glass 5 /execute @p ~ ~ ~ detect ~-1 ~ ~-1 stained_glass 5 /execute @p ~ ~ ~ detect ~1 ~ ~-1 stained_glass 5 /execute @p ~ ~ ~ detect ~1 ~1 ~1 bookshelf 0 /execute @p ~ ~ ~ detect ~-1 ~1 ~1 bookshelf 0 /execute @p ~ ~ ~ detect ~-1 ~1 ~-1 bookshelf 0 /execute @p ~ ~ ~ detect ~1 ~1 ~-1 bookshelf 0 /scoreboard players add @a[r=1,team=!DoctorStrange] delay 1}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 9 {SelectedItemSlot:8}}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 8 {SelectedItemSlot:7}}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 7 {SelectedItemSlot:6}}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 6 {SelectedItemSlot:5}}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 5 {SelectedItemSlot:4}}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 4 {SelectedItemSlot:3}}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 3 {SelectedItemSlot:2}}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 2 {SelectedItemSlot:1}}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~-1 {auto:1,Command:scoreboard players set @a slot 1 {SelectedItemSlot:0}}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~-2 {auto:1,Command:execute @a ~ ~ ~ detect ~ ~-1 ~ air 0 /scoreboard players set @p NyT 1}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~-2 {auto:1,Command:execute @a ~ ~ ~ detect ~ ~ ~-1 air 0 /scoreboard players set @p NzT 1}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~-2 {auto:1,Command:execute @a ~ ~ ~ detect ~ ~ ~1 air 0 /scoreboard players set @p zT 1}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~-2 {auto:1,Command:execute @a ~ ~ ~ detect ~-1 ~ ~ air 0 /scoreboard players set @p NxT 1}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~-2 {auto:1,Command:execute @a ~ ~ ~ detect ~1 ~ ~ air 0 /scoreboard players set @p xT 1}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~-2 {auto:1,Command:scoreboard players set @a NyT 0}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~-2 {auto:1,Command:scoreboard players set @a NzT 0}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~-2 {auto:1,Command:scoreboard players set @a zT 0}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~-2 {auto:1,Command:scoreboard players set @a NxT 0}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~-2 {auto:1,Command:scoreboard players set @a xT 0}},{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]}]}]}]}