options: Perm: uhc.staff P: &f[&bTime-Bomb&f] C: &b H: &f Excluded: spawn Force: 20 command /TimeBomb : permission: {@Perm} usage: /TimeBomb trigger: if arg-1 is "enable" or "on": set {TimeBomb} to true broadcast "{@P}{@C} Time Bomb {@H}Enabled{@C}!" if arg-1 is "disable" or "off": delete {TimeBomb} broadcast "{@P}{@C} Time Bomb {@H}Disabled{@C}!" on death of player: victim's world is not "{@Excluded}" {Timebomb} is true set block at block at victim's location to chest set {_loc} to the block at victim's location set {_chest} to block at victim's location set block at block left of {_chest} to chest add 1 golden apple named "&6Golden Head" to the block at {_chest} add victim's inventory to the block at {_chest} add the victim's helmet slot to the inventory of the block at {_chest} add the victim's chestplate slot to the inventory of the block at {_chest} add the victim's leggings slot to the inventory of the block at {_chest} add the victim's boots slot to the inventory of the block at {_chest} clear drops delete holo object "%victim%" create holo object "%victim%" with id "%victim%" at location of block above victim's location set {_time.%victim%} to 30 broadcast "{@P}{@H} %victim%'s {@C}corpse is now ticking" loop 30 times: edit holo object "%victim%" line 1 to "&b%{_time.%victim%}% secs" add -1 to {_time.%victim%} wait 1 second delete holo object "%victim%" set block at {_chest} to air set block at {_loc} to air wait 3 ticks create an explosion of force {@Force} at {_chest} strike lightning effect at {_chest} broadcast "{@P}{@H} %victim%'s {@C}corpse has exploded"