Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. 1) In normal in game chat type the following commands:
  2.  
  3. /scoreboard objectives add Timer killedByTeam.dark_green
  4. /summon minecraft:armor_stand ~ ~ ~ {NoGravity:1b,Invulnerable:1b,Marker:1b,Invisible:1b,Tags:["BlockDestroyer"]}
  5. /effect give @e[type=minecraft:armor_stand,tag=BlockDestroyer] minecraft:regeneration 1000000 127 true
  6. /scoreboard players set @a Timer -1
  7. /scoreboard objectives add IsSpreader killedByTeam.aqua
  8. /scoreboard players set @a IsSpreader 1
  9. /scoreboard players set @e[type=minecraft:armor_stand,tag=BlockDestroyer] Timer 0
  10. /scoreboard objectives add YValue killedByTeam.dark_blue
  11. /scoreboard players set @a YValue -1
  12. /scoreboard players set @e[type=minecraft:armor_stand,tag=BlockDestroyer] YValue 0
  13.  
  14. 2) Place down a repeating command block, facing upwards (unconditional, always active) with a chain command block, facing upwards (unconditional, always active) above the repeating command block.
  15.  
  16. In order to make sure that the timer works in the repeating command block put in the command:
  17. scoreboard players set @e[scores={Timer=61..}] Timer 0
  18.  
  19. In the chain command block put in the following command:
  20. execute as @e[scores={Timer=0..}] run scoreboard players add @e[scores={Timer=0..}] Timer 1
  21.  
  22. 3) Now place a chain command block, facing upwards (unconditional, always active) above the one you just placed. Put in the following command:
  23. execute at @r[scores={IsSpreader=1}] run spreadplayers ~ ~ 0 3 false @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={Timer=30}]
  24.  
  25. Then, place a chain command block, facing upwards (unconditional, always active) with the command:
  26. execute at @e[scores={Timer=40}] run scoreboard players add @e[scores={YValue=0..}] YValue 1
  27.  
  28. And another chain command block, facing upwards (unconditional, always active) with the command
  29. execute as @e[scores={YValue=7..}] run scoreboard players set @e[scores={YValue=7..}] YValue 0
  30.  
  31. 4) Now place 7 chain command blocks, all of them facing upwards (unconditional, always active) put in the following commands, starting from the lowest one and ending at the highest one you just placed:
  32.  
  33. Lowest Chain Command Block:
  34. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=0,Timer=60}] run setblock ~ ~-3 ~ minecraft:air replace
  35.  
  36. 2nd to lowest Chain Command Block:
  37. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=1,Timer=60}] run setblock ~ ~-2 ~ minecraft:air replace
  38.  
  39. 3rd to lowest Chain Command Block:
  40. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=2,Timer=60}] run setblock ~ ~-1 ~ minecraft:air replace
  41.  
  42. Middle Chain Command Block:
  43. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=3,Timer=60}] run setblock ~ ~ ~ minecraft:air replace
  44.  
  45. 3rd to highest Chain Command Block:
  46. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=4,Timer=60}] run setblock ~ ~1 ~ minecraft:air replace
  47.  
  48. 2nd to highest Chain Command Block:
  49. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=5,Timer=60}] run setblock ~ ~2 ~ minecraft:air replace
  50.  
  51. Highest Chain Command Block:
  52. execute at @e[type=minecraft:armor_stand,tag=BlockDestroyer,scores={YValue=6,Timer=60}] run setblock ~ ~3 ~ minecraft:air replace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement