Command 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 ~8 ~ ~3 stained_hardened_clay 5 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-3 ~8 ~-1 ~3 stained_glass 15 0 stained_hardened_clay"},{id:commandblock_minecart,Command:"setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Активировать \\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=armor_stand,name=TogAct,c=1] 9flii1_A 1\\\"},\\\"italic\\\":true,\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Деактивировать\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_9flii1_A_min=1,score_9flii1_A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"},\\\"italic\\\":true,\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Машину\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_9flii1_A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"},\\\"italic\\\":true,\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score_9flii1_A_min=2] 9flii1_A\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Магические Луки\\\",\\\"color\\\":\\\"dark_green\\\",\\\"italic\\\":true,\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"От\\\",\\\"italic\\\":true,\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"SalihPvP78\\\",\\\"color\\\":\\\"dark_red\\\",\\\"italic\\\":true,\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"\\\"}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Уничтожить машину\\\",\\\"color\\\":\\\"red\\\",\\\"italic\\\":true,\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"\\\"}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-3 ~7 ~1 ~3 air\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~ ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Получить Луки\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @a bow 1 0 {FireBow:1}\\\"},\\\"italic\\\":true,\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @a bow 1 0 {EnderBow:1}\\\"}}\",Text3:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @a bow 1 0 {LBow:1}\\\"}}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @a bow 1 0 {IceBow:1}\\\"}}\"}"},{id:commandblock_minecart,Command:"summon armor_stand ~3 ~-2 ~-2 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:commandblock_minecart,Command:"scoreboard objectives add 9flii1_A dummy"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~-2 ~7 ~-1 ~2 chain_command_block 5"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~2 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~7 ~-1 ~2 ~4 ~-1 ~2 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~2 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~1 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~1 ~4 ~-2 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~7 ~-2 ~-1 ~4 ~-2 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-2 ~-2 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-2 repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~1 {auto:1,Command:\"/kill @e[tag=useIceArrow]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~1 {auto:1,Command:\"/execute @e[tag=useIceArrow] ~ ~ ~ /fill ~-3 ~-3 ~-3 ~3 ~3 ~3 ice 0 replace water\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~2 {auto:1,Command:\"/scoreboard players tag @e[tag=IceArrow] add useIceArrow {inGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~2 {auto:1,Command:\"/scoreboard players set @a[score_UseBow_min=1] IceBow 0\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~2 {auto:1,Command:\"/scoreboard players tag @a[tag=IceBowUse] remove IceBowUse\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~2 {auto:1,Command:\"execute @a[tag=IceBowUse] ~ ~1 ~ /scoreboard players tag @e[tag=!IceArrow,type=Arrow,dx=0,dy=0,dz=0] add IceArrow\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~2 {auto:1,Command:\"/scoreboard players tag @a[score_UseBow_min=1] add IceBowUse {SelectedItem:{tag:{IceBow:1}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~2 {auto:1,Command:\"/scoreboard objectives add UseBow stat.useItem.minecraft.bow\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~2 {auto:1,Command:\"/kill @e[tag=useLArrow]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~2 {auto:1,Command:\"/execute @e[tag=useLArrow] ~ ~ ~ /summon minecraft:lightning_bolt\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~2 {auto:1,Command:\"/scoreboard players tag @e[tag=LArrow] add useFireArrow {inGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~2 {auto:1,Command:\"/scoreboard players set @a[score_UseBow_min=1] UseBow 0\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @a[tag=LBowUse] remove LBowUse\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~1 {auto:1,Command:\"execute @a[tag=LBowUse] ~ ~1 ~ /scoreboard players tag @e[tag=!LArrow,type=Arrow,dx=0,dy=0,dz=0] add LArrow\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @a[score_UseBow_min=1] add FireBowUse {SelectedItem:{tag:{FireBow:1}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~1 {auto:1,Command:\"/scoreboard objectives add UseBow stat.useItem.minecraft.bow\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~1 {auto:1,Command:\"/kill @e[tag=useEnderArrow]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~ {auto:1,Command:\"/execute @e[tag=useEnderArrow] ~ ~ ~ /tp @a[tag=EnderBowUse@e[tag=useEnderArrow]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~ {auto:1,Command:\"/scoreboard players tag @e[tag=EnderArrow] add useEnderArrow {inGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~ {auto:1,Command:\"/scoreboard players set @a[score_UseBow_min=1] UseBow 0\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~ {auto:1,Command:\"/scoreboard players tag @a[tag=EnderBowUse] remove EnderBowUse\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~ {auto:1,Command:\"execute @a[tag=EnderBowUse] ~ ~1 ~ /scoreboard players tag @e[tag=!EnderArrow,type=Arrow,dx=0,dy=0,dz=0] add FireArrow\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~-1 {auto:1,Command:\"/scoreboard players tag @a[score_UseBow_min=1] add EnderBowUse {SelectedItem:{tag:{EnderBow:1}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~-1 {auto:1,Command:\"/scoreboard objectives add UseBow stat.useItem.minecraft.bow\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~-1 {auto:1,Command:\"/kill @e[tag=useFireArrow]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=useFireArrow] ~ ~ ~ /summon minecraft:creeper ~ ~ ~ {Fuse:-1s,ExplosionRadius:2b}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~-1 {auto:1,Command:\"/scoreboard players tag @e[tag=FireArrow] add useFireArrow {inGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~-2 {auto:1,Command:\"/scoreboard players set @a[score_UseBow_min=1] UseBow 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~-2 {auto:1,Command:\"/scoreboard players tag @a[tag=FireBowUse] remove FireBowUse\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~-2 {auto:1,Command:\"execute @a[tag=FireBowUse] ~ ~1 ~ /scoreboard players tag @e[tag=!FireArrow,type=Arrow,dx=0,dy=0,dz=0] add FireArrow\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~-2 {auto:1,Command:\"/scoreboard players tag @a[score_UseBow_min=1] add FireBowUse {SelectedItem:{tag:{FireBow:1}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~-2 {auto:1,Command:\"/scoreboard objectives add UseBow stat.useItem.minecraft.bow\"}"},{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]"}]}]}]}