Advertisement
fleft17

Untitled

Jan 6th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. options:
  2.  
  3. P: [VengefulSpirits]
  4.  
  5. on death of player:
  6. {VengefulSpirits} is true
  7. wait 1 tick
  8. spawn 1 ghast at location 1 above (location of event-player)
  9. set max health of last spawned entity to 15
  10. heal last spawned entity
  11. set name of last spawned entity to "%player%"
  12.  
  13. on death of ghast:
  14. {VengefulSpirits} is true
  15. set {_Head} to name of victim
  16. drop 1 player head named "%{_Head}%" at location 1 above (location of victim)
  17.  
  18. on right click:
  19. {VengefulSpirits} is true
  20. player's tool is name tag
  21. cancel the event
  22. message "§6You cannot name things in this gamemode!"
  23.  
  24. command /vengefulspirits [<text>]:
  25. permission: skript.vengefulspirits
  26. trigger:
  27. if arg-1 is "on" or "enable":
  28. set {VengefulSpirits} to true
  29. broadcast "{@P} Enabled by a%command sender%§f."
  30. else if arg-1 is "off" or "disable":
  31. delete {VengefulSpirits}
  32. broadcast "{@P} Disabled by c%command sender%§f."
  33. else if arg-1 is "help":
  34. message "{@P} /vengefulspirits on/off/help"
  35. else if arg-1 is not set:
  36. command sender command "/vengefulspirits"
  37. else:
  38. command sender command "/vengefulspirits"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement