Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bVengeful Spirits&f]
- C: &b
- H: &f
- command /VengefulSpirits <text>:
- permission: {@Perm}
- usage: /VengefulSpirits <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {VengefulSpirits} to true
- broadcast "{@P}{@C} Vengeful Spirits {@H}Enabled{@C}!"
- if arg-1 is "disable" or "off":
- delete {VengefulSpirits}
- broadcast "{@P}{@C} Vengeful Spirits {@H}Disabled{@C}!"
- on death of player:
- {VengefulSpirits} is true
- wait 1 tick
- spawn 1 ghast at location 1 above (location of event-player)
- set max health of last spawned entity to 15
- heal last spawned entity
- set name of last spawned entity to "%player%"
- on death of ghast:
- {VengefulSpirits} is true
- set {_Head} to name of victim
- drop 1 player head named "%{_Head}%" at location 1 above (location of victim)
- on right click:
- {VengefulSpirits} is true
- player's tool is name tag
- cancel the event
- message "{@P}{@C} You cannot name things in this gamemode!"
Advertisement
Add Comment
Please, Sign In to add comment