painapoandy2

Splatoon Trap One Command for 1.9

Mar 23rd, 2016
934
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~8 ~ ~2 stained_hardened_clay 1 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~8 ~-1 ~2 stained_glass 13 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add isRedTrap dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add isBlueTrap dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add DamageFlag dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TrapTimer dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TrapRemove dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TrapAge dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add TrapFlag dummy"},{id:MinecartCommandBlock,Command:"/scoreboard teams add Red"},{id:MinecartCommandBlock,Command:"/scoreboard teams option Red color dark_red"},{id:MinecartCommandBlock,Command:"/scoreboard teams add Blue"},{id:MinecartCommandBlock,Command:"/scoreboard teams option Blue color dark_blue"},{id:MinecartCommandBlock,Command:"/give @p minecraft:paper 64 0 {display:{Name:\"赤チームのトラップ\",Lore:[投げて設置だゾ]}}"},{id:MinecartCommandBlock,Command:"/give @p minecraft:slime_ball 64 0 {display:{Name:\"青チームのトラップ\",Lore:[投げて設置してね]}}"},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=BlueTrap,score_TrapAge_min=215,score_TrapAge=215] ~ ~ ~ effect @a[r=2,team=Red] 7 1 1"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=RedTrap,score_TrapAge_min=215,score_TrapAge=215] ~ ~ ~ effect @a[r=2,team=Blue] 7 1 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/kill @e[type=ArmorStand,score_TrapAge_min=220]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,score_TrapAge_min=210] ~ ~ ~ particle largeexplode ~ ~ ~ 0.2 0.2 0.2 1 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=BlueTrap] TrapAge 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=RedTrap] TrapAge 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"/scoreboard players reset @a[score_TrapTimer_min=12] TrapTimer"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/scoreboard players reset @a[score_TrapTimer_min=12] DamageFlag"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=BlueTrap,score_TrapRemove_min=1] ~ ~ ~ playsound block.anvil.place master @a[team=Red,r=1] ~ ~ ~ 0.6 1.5"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=RedTrap,score_TrapRemove_min=1] ~ ~ ~ playsound block.anvil.place master @a[team=Blue,r=1] ~ ~ ~ 0.6 1.5"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/kill @e[type=ArmorStand,score_TrapRemove_min=12]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,score_TrapFlag_min=1] TrapRemove 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,score_TrapFlag_min=1] ~ ~ ~ particle explode ~ ~ ~ 0.2 0.2 0.2 1 10"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[team=Red] ~ ~ ~ scoreboard players set @e[type=ArmorStand,name=BlueTrap,r=1] TrapFlag 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[team=Blue] ~ ~ ~ scoreboard players set @e[type=ArmorStand,name=RedTrap,r=1] TrapFlag 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=BlueTrap] ~ ~ ~ effect @a[score_TrapTimer_min=11,r=2,team=Red] 7 1 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=RedTrap] ~ ~ ~ effect @a[score_TrapTimer_min=11,r=2,team=Blue] 7 1 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players add @a[score_DamageFlag_min=1] TrapTimer 1"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=BlueTrap] ~ ~ ~ scoreboard players set @a[r=1,team=Red] DamageFlag 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=RedTrap] ~ ~ ~ scoreboard players set @a[r=1,team=Blue] DamageFlag 1"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/kill @e[type=Item,score_isBlueTrap_min=2]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/execute @e[type=Item,score_isBlueTrap_min=1,score_isBlueTrap=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\\"BlueTrap\\\",Invisible:1b}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=Item] isBlueTrap 1 {Item:{id:\\\"minecraft:slime_ball\\\",tag:{display:{Name:\\\"青チームのトラップ\\\",Lore:[投げて設置してね]}}},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/kill @e[type=Item,score_isRedTrap_min=2]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Item,score_isRedTrap_min=1,score_isRedTrap=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\\"RedTrap\\\",Invisible:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=Item] isRedTrap 1 {Item:{id:\\\"minecraft:paper\\\",tag:{display:{Name:\\\"赤チームのトラップ\\\",Lore:[投げて設置だゾ]}}},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
RAW Paste Data