Guest User

Untitled

a guest
Aug 25th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #Skript made by jordanleevan and a bit of help from D4
  2.  
  3. Options:
  4. P : &8[&cHead &7Hunters&8]&6
  5.  
  6. command /hh [<text>]:
  7. permission: skript.op
  8. trigger:
  9. if arg 1 is not set:
  10. message "&c/hh enable"
  11. message "&c/hh disable"
  12. if arg 1 is equal to "enable" or "on":
  13. if {HeadHunters} is true:
  14. message "&cHead Hunters is Already Enabled!"
  15. if {HeadHunters} is not set:
  16. set {HeadHunters} to true
  17. broadcast "{@P} Head Hunters Is now Enabled!"
  18. if arg 1 is equal to "disable" or "off":
  19. if {HeadHunters} is not set:
  20. message "&cHead Hunters is Already Disabled!"
  21. if {HeadHunters} is true:
  22. delete {HeadHunters}
  23. broadcast "{@P} Head Hunters is now Disabled!"
  24.  
  25.  
  26. on death of player:
  27. if {HeadHunters} is true:
  28. set {_X} to (x-coordinate of victim)+(random number between -75 and 75)
  29. set {_Z} to (z-coordinate of victim)+(random number between -75 and 75)
  30. set {_Y} to 254
  31. set {_Location} to location at {_X}, {_Y}, {_Z} of the world (world of victim)
  32. loop 300 times:
  33. add -1 to y-coordinate of {_location}
  34. if block at {_location} is not air:
  35. set block at {_location} to chest
  36. add the victim's skull to the inventory of the block at {_location}
  37. stop
Advertisement
Add Comment
Please, Sign In to add comment