Advertisement
Guest User

Ring of Fire sk

a guest
Jul 21st, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. Options:
  2. prefix: &8[&4Hemorrhage&8]&7
  3.  
  4. command /rof <text>:
  5. permission: skript.op
  6. trigger:
  7. if arg-1 is equal to "enable" or "on":
  8. set {rof} to true
  9. broadcast "{@prefix} Ring of Fire &aEnabled!"
  10. if arg-1 is equal to "disable" or "off":
  11. delete {rof}
  12. broadcast "{@prefix} Ring of Fire &cDisabled!"
  13.  
  14. on death of a player:
  15. if {rof} is true:
  16. set {rofcenter::loc::%victim%} to the player's location
  17. set {_n} to the block 3 meters north of {rofcenter::loc::%victim%}
  18. set {_n2} to the block 1 below {_n}
  19. set {_s} to the block 3 meters south of {rofcenter::loc::%victim%}
  20. set {_s2} to the block 1 below {_s}
  21. set {_w} to the block 3 meters west of {rofcenter::loc::%victim%}
  22. set {_w2} to the block 1 below {_w}
  23. set {_e} to the block 3 meters east of {rofcenter::loc::%victim%}
  24. set {_e2} to the block 1 below {_e}
  25. set {_nw} to the block 2 meters northwest of {rofcenter::loc::%victim%}
  26. set {_nw2} to the block 1 below {_nw}
  27. set {_ne} to the block 2 meters northeast of {rofcenter::loc::%victim%}
  28. set {_ne2} to the block 1 below {_ne}
  29. set {_sw} to the block 2 meters southwest of {rofcenter::loc::%victim%}
  30. set {_sw2} to the block 1 below {_sw}
  31. set {_se} to the block 2 meters southeast of {rofcenter::loc::%victim%}
  32. set {_se2} to the block 1 below {_se}
  33. set block at {_n2} to netherrack
  34. set block 1 meters west of {_n2} to netherrack
  35. set block 1 meters east of {_n2} to netherrack
  36. set block at {_s2} to netherrack
  37. set block 1 meters west of {_s2} to netherrack
  38. set block 1 meters east of {_s2} to netherrack
  39. set block at {_w2} to netherrack
  40. set block 1 meters north of {_w2} to netherrack
  41. set block 1 meters south of {_w2} to netherrack
  42. set block at {_e2} to netherrack
  43. set block 1 meters north of {_e2} to netherrack
  44. set block 1 meters south of {_e2} to netherrack
  45. set block at {_nw2} to netherrack
  46. set block at {_ne2} to netherrack
  47. set block at {_sw2} to netherrack
  48. set block at {_se2} to netherrack
  49. set block at {_n} to fire
  50. set block 1 meters west of {_n} to fire
  51. set block 1 meters east of {_n} to fire
  52. set block at {_s} to fire
  53. set block 1 meters west of {_s} to fire
  54. set block 1 meters east of {_s} to fire
  55. set block at {_w} to fire
  56. set block 1 meters north of {_w} to fire
  57. set block 1 meters south of {_w} to fire
  58. set block at {_e} to fire
  59. set block 1 meters north of {_e} to fire
  60. set block 1 meters south of {_e} to fire
  61. set block at {_nw} to fire
  62. set block at {_ne} to fire
  63. set block at {_sw} to fire
  64. set block at {_se} to fire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement