Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of a player:
- if event-world is "UHC":
- {timebomb} is true
- clear drops
- set {_x} to the x location of victim
- set {_y} to the y location of victim
- set {_z} to the z location of victim
- set {_victim} to victim's location
- add -1 to {_x}
- set {_mort} to victim's inventory
- add helmet of victim to {_mort}
- add chestplate of victim to {_mort}
- add leggings of victim to {_mort}
- add boots of victim to {_mort}
- set block at location {_x}, {_y}, {_z} to chest
- set block at victim's location to chest
- set the inventory of block at victim's location to {_mort}
- broadcast "&6[TIMEBOMB] %victim% est mort ! Son Deathchest explosera dans %{tempstb}% !"
- wait {tempstb}
- clear the inventory of block at {_victim}
- create an explosion of force 5 at {_victim}
- broadcast "&6[TIMEBOMB] &cLe corps de %victim% a explosé !"
- strike lightning effect at {_victim}
- command /timebomb [<time span>]:
- aliases: /tb
- usage: /timebomb [<temps d'explosion du coffre>]
- permission: timebomb.modify
- trigger:
- if player's world is "UHC":
- if arg 1 is not set:
- if {timebomb} is not set:
- set {timebomb} to true
- send "&a[TimeBomb] Le scénario timebomb à bien été activé !"
- else:
- clear {timebomb}
- send "&a[TimeBomb] Le scénario timebomb à bien été désactivé !"
- else:
- set {tempstb} to arg 1
- send "&a[TimeBomb] L'explosion du coffre à été mis à %arg 1%"
- on load:
- if {tempstb} is not set:
- set {tempstb} to 30 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement