Advertisement
ChaoticRedstone

Kamikaze Suit Commands

Jan 30th, 2016
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. ► Setup a fill clock
  2. /fill ~6 ~ ~1 ~ ~ ~1 stone
  3. /fill ~6 ~ ~-1 ~ ~ ~-1 redstone_block
  4. ► Get the Suit
  5. /give @a minecraft:leather_chestplate 1 0 {display:{Name:"Kamikaze Suit",color:0}}
  6. ► Scoreboards
  7. /scoreboard objectives add phealth health
  8. /scoreboard objectives add boom dummy
  9. ► Detect when the player has the suit on
  10. /scoreboard players set @a boom 1 {Inventory:[{Slot:102b,tag:{display:{Name:"Kamikaze Suit"}}}]}
  11. ► Add particle effect (optional)
  12. /execute @a[score_boom_min=1] ~ ~ ~ /particle depthsuspend ~ ~ ~ 1 1 1 0.01 10
  13. ► Explosion (Add more of this command for bigger explosion)
  14. /execute @a[score_phealth=4,score_phealth_min=1,score_boom_min=1] ~ ~ ~ /summon PrimedTnt ~1 ~ ~
  15. ► Fire effect (optional)
  16. /execute @a[score_phealth=4,score_phealth_min=1,score_boom_min=1] ~ ~ ~ /summon Fireball ~ ~ ~ {direction:[0.0,0.0,0.0],ExplosionPower:10}
  17. ► Reset
  18. /scoreboard players set @a boom 0
  19.  
  20. ►This Version Makes It So You Die No Matter What
  21. /scoreboard objectives add death deathCount
  22. /summon ArmorStand ~ ~1 ~ {CustomName:"d",Invisible:1,NoGravity:1,DisabledSlots:2039583}
  23. /tp @e[type=ArmorStand,name=d] @p
  24. /execute @a[score_death_min=1,score_boom_min=1] ~ ~ ~ /scoreboard players set @e[type=ArmorStand,name=d] d 1
  25. /execute @e[score_d_min=1] ~ ~ ~ /summon PrimedTnt
  26. /scoreboard players set @a death 0
  27. /scoreboard players set @e d 0
  28. /scoreboard players set @a boom 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement