Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # Head Hunters for Grrr Angery S1
  2.  
  3. Options:
  4. P: &8[&3GrrrrAngery&8]&3
  5.  
  6. command /grrrhunters <text>:
  7. permission: skript.op
  8. trigger:
  9. if arg-1 is equal to "enable" or "on" or "yes" or "true" or "start":
  10. set {GrrrHunters::Enabled} to true
  11. message "{@P} Head Hunters Enabled!"
  12. if arg-1 is equal to "disable" or "stop" or "no" or "false" or "off":
  13. delete {GrrrHunters::Enabled}
  14. message "{@P} Head Hunters Disabled!"
  15.  
  16.  
  17. on death of player:
  18. {GrrrHunters::Enabled} is true
  19. set {GrrrHunters::XCoord} to x coordinate of player
  20. set {GrrrHunters::ZCoord} to z coordinate of player
  21. set {GrrrHunters::YCoord} to a random integer between 70 and 150
  22. set {GrrrHunters::Location} to location of (block at location at {GrrrHunters::XCoord}, {GrrrHunters::YCoord}, {GrrrHunters::ZCoord})
  23. while block at {GrrrHunters::Location} is not air:
  24. add 1 to y-coord of {GrrrHunters::Location}
  25. wait 1 tick
  26. wait 1 tick
  27. set block at {GrrrHunters::Location} to victim's skull
  28. broadcast "%{GrrrHunters::Location}%"
  29. wait 1 second
  30. delete {GrrrHunters::XCoord}
  31. delete {GrrrHunters::YCoord}
  32. delete {GrrrHunters::ZCoord}
  33. delete {GrrrHunters::Location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement