Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ► Setup a fill clock
- /fill ~6 ~ ~1 ~ ~ ~1 stone
- /fill ~6 ~ ~-1 ~ ~ ~-1 redstone_block
- ► Get the Suit
- /give @a minecraft:leather_chestplate 1 0 {display:{Name:"Kamikaze Suit",color:0}}
- ► Scoreboards
- /scoreboard objectives add phealth health
- /scoreboard objectives add boom dummy
- ► Detect when the player has the suit on
- /scoreboard players set @a boom 1 {Inventory:[{Slot:102b,tag:{display:{Name:"Kamikaze Suit"}}}]}
- ► Add particle effect (optional)
- /execute @a[score_boom_min=1] ~ ~ ~ /particle depthsuspend ~ ~ ~ 1 1 1 0.01 10
- ► Explosion (Add more of this command for bigger explosion)
- /execute @a[score_phealth=4,score_phealth_min=1,score_boom_min=1] ~ ~ ~ /summon PrimedTnt ~1 ~ ~
- ► Fire effect (optional)
- /execute @a[score_phealth=4,score_phealth_min=1,score_boom_min=1] ~ ~ ~ /summon Fireball ~ ~ ~ {direction:[0.0,0.0,0.0],ExplosionPower:10}
- ► Reset
- /scoreboard players set @a boom 0
- ►This Version Makes It So You Die No Matter What
- /scoreboard objectives add death deathCount
- /summon ArmorStand ~ ~1 ~ {CustomName:"d",Invisible:1,NoGravity:1,DisabledSlots:2039583}
- /tp @e[type=ArmorStand,name=d] @p
- /execute @a[score_death_min=1,score_boom_min=1] ~ ~ ~ /scoreboard players set @e[type=ArmorStand,name=d] d 1
- /execute @e[score_d_min=1] ~ ~ ~ /summon PrimedTnt
- /scoreboard players set @a death 0
- /scoreboard players set @e d 0
- /scoreboard players set @a boom 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement