Advertisement
15Redstones

Infectious Zombies

Feb 20th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. summon FallingSand ~ ~1.5 ~ {Motion:[0.0d,-1.0d,0.0d],Time:1,DropItem:0,Block:redstone_block,Passengers:[
  2. {id:FallingSand,Time:1,DropItem:0,Block:activator_rail},
  3. {id:MinecartCommandBlock,Command:"summon ArmorStand ~2 ~-1.9 ~ {CustomName:GM4_infectiousZombies,Tags:[\"2.0\",GM4,],NoGravity:1b}"},
  4. {id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Installed Infectious Zombies\",\"color\":\"dark_green\",\"underlined\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"URL_HERE\"}}]"},
  5. {id:MinecartCommandBlock,Command:setblock ~2 ~-2 ~0 minecraft:command_block 5 replace {TrackOutput:0b,Command:summon FallingSand ~ ~0.5 ~ {Block:redstone_block,Motion:[0.0,0.35,0.0]}}},
  6. {id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~0 minecraft:chain_command_block 5 replace {auto:1b,TrackOutput:0b,Command:scoreboard objectives add GM4_zombiefied stat.entityKilledBy.Zombie}},
  7. {id:MinecartCommandBlock,Command:"setblock ~4 ~-2 ~0 minecraft:chain_command_block 5 replace {auto:1b,TrackOutput:0b,Command:\"execute @a[score_GM4_zombiefied_min=1,m=!3] ~ ~ ~ summon Zombie ~ ~1 ~ {CustomName:Zombiefied Player,CustomNameVisible:1,CanPickUpLoot:1,PersistenceRequired:1,IsBaby:0,HandItems:{},ArmorItems:{},Tags:[\\\"GM4_Zombiefied\\\"]}\"}"},
  8. {id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~0 minecraft:chain_command_block 5 replace {auto:1b,TrackOutput:0b,Command:scoreboard players reset @a[score_GM4_zombiefied_min=1] GM4_zombiefied}},
  9. {id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~0 minecraft:chain_command_block 5 replace {auto:1b,TrackOutput:0b,Command:scoreboard players add @e[tag=GM4_Zombiefied] GM4_zombiefied 1}},
  10. {id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~0 minecraft:chain_command_block 5 replace {auto:1b,TrackOutput:0b,Command:kill @e[tag=GM4_Zombiefied,score_GM4_zombiefied_min=750]}},
  11. {id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4},
  12. {id:MinecartCommandBlock,Command:"blockdata ~1 ~-2 ~ {Text1:\"{\\\"text\\\":\\\"Infectious\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"tellraw @p {\\\\\\\"text\\\\\\\":\\\\\\\"[GM4] Infectious Zombies V2.0 Click for Updates, Commands & Info\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"aqua\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"open_url\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"URL_HERE\\\\\\\"}}\\\"}}\",Text2:\"{\\\"text\\\":\\\"Zombies\\\"}\",Text3:\"{\\\"text\\\":\\\"Click for info\\\"}\"}"},
  13. {id:MinecartCommandBlock,Command:setblock ~2 ~-1 ~ redstone_block},
  14. {id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=0]}
  15. ]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement