Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. #Arena Skript BezerkTwerk
  2.  
  3. options:
  4. A: &6Archer
  5.  
  6. command /archeron:
  7. permission: skript.op
  8. trigger:
  9. set {archer} to true
  10. {@CC} "/feature toggle off PotionNerfs"
  11. {@CC} "/feature toggle off PlayerHeads"
  12. broadcast "{@P} Arena is now on!"
  13. {@CC} "/scoreboard objectives add pvpk playerKillCount &aArcher &bArena &cKills"
  14. {@CC} "/scoreboard setdisplay sidebar pvpk"
  15.  
  16. command /archeroff:
  17. permission: skript.op
  18. trigger:
  19. set {archer} to false
  20. broadcast "{@P} Arena is now off"
  21.  
  22. command /archer:
  23. trigger:
  24. {archer} is true
  25. set {archer.%player%} to true
  26. command "/ci %player%"
  27. command "/gms %player%"
  28. command "/feed %player%"
  29. command "/heal %player%"
  30. set {_spawn} to a random integer between 1 and 100
  31. if {_spawn} is between 1 and 100:
  32. equip player with leather chestplate
  33. equip player with leather leggings
  34. equip player with leather boots
  35. equip player with leather helmet
  36. give player bow of unbreaking 10 and infinity 1 and punch 2
  37. give player 16 368 named "&6Pearls
  38. give player arrow named "{@A} Arrow"
  39. give player 6 373:16418
  40. give player 16 364
  41. give player 27 373:16418
  42. set {_warp} to a random integer between 1 and 100
  43. if {_warp} is between 1 and 10:
  44. {@CC} "/warp pvp1 %player%"
  45. if {_warp} is between 11 and 20:
  46. {@CC} "/warp pvp2 %player%"
  47. if {_warp} is between 21 and 30:
  48. {@CC} "/warp pvp3 %player%"
  49. if {_warp} is between 31 and 40:
  50. {@CC} "/warp pvp4 %player%"
  51. if {_warp} is between 41 and 50:
  52. {@CC} "/warp pvp5 %player%"
  53. if {_warp} is between 51 and 60:
  54. {@CC} "/warp pvp6 %player%"
  55. if {_warp} is between 61 and 70:
  56. {@CC} "/warp pvp7 %player%"
  57. if {_warp} is between 71 and 80:
  58. {@CC} "/warp pvp8 %player%"
  59. if {_warp} is between 81 and 90:
  60. {@CC} "/warp pvp9 %player%"
  61. if {_warp} is between 91 and 100:
  62. {@CC} "/warp pvp10 %player%"
  63. stop
  64.  
  65. #Arena Event
  66.  
  67. on damage of player:
  68. {archer} is true
  69. damage was caused by fall
  70. cancel the event
  71.  
  72. on death of player:
  73. {archer} is true
  74. heal attacker by 4.0 hearts
  75. give attacker 1 368
  76. {@CC} "/scoreboard players reset %player%"
  77.  
  78. on login:
  79. {archer} is true
  80. {@CC} "/warp spawn %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement