Shovelwarf_

slayer

Jan 12th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. command /slayer:
  2. trigger:
  3. open chest with 3 rows named "&5Slayer" to player
  4. Format slot 0 of player with purple glass pane named "" with lore "" to close
  5. Format slot 1 of player with purple glass pane named "" with lore "" to close
  6. Format slot 2 of player with purple glass pane named "" with lore "" to close
  7. Format slot 3 of player with purple glass pane named "" with lore "" to close
  8. Format slot 4 of player with purple glass pane named "" with lore "" to close
  9. Format slot 5 of player with purple glass pane named "" with lore "" to close
  10. Format slot 6 of player with purple glass pane named "" with lore "" to close
  11. Format slot 7 of player with purple glass pane named "" with lore "" to close
  12. Format slot 8 of player with purple glass pane named "" with lore "" to close
  13. Format slot 9 of player with purple glass pane named "" with lore "" to close
  14. Format slot 10 of player with zombie skull named "&cZombie Slayer" with lore "&5クリックしてスレイヤーを選択する" to close then run [ execute player command "/soz"]
  15. Format slot 11 of player with purple glass pane named "" with lore "" to close
  16. Format slot 12 of player with purple glass pane named "" with lore "" to close
  17. Format slot 13 of player with purple glass pane named "" with lore "" to close
  18. Format slot 14 of player with purple glass pane named "" with lore "" to close
  19. Format slot 15 of player with purple glass pane named "" with lore "" to close
  20. Format slot 16 of player with purple glass pane named "" with lore "" to close
  21. Format slot 17 of player with purple glass pane named "" with lore "" to close
  22. Format slot 18 of player with purple glass pane named "" with lore "" to close
  23. Format slot 19 of player with purple glass pane named "" with lore "" to close
  24. Format slot 20 of player with purple glass pane named "" with lore "" to close
  25. Format slot 21 of player with purple glass pane named "" with lore "" to close
  26. Format slot 22 of player with purple glass pane named "" with lore "" to close
  27. Format slot 23 of player with purple glass pane named "" with lore "" to close
  28. Format slot 24 of player with purple glass pane named "" with lore "" to close
  29. Format slot 25 of player with purple glass pane named "" with lore "" to close
  30. Format slot 26 of player with purple glass pane named "" with lore "" to close
  31. command /soz:
  32. trigger:
  33. wait 5 ticks
  34. open chest with 1 rows named "&5ZombieSlayer" to player
  35. Format slot 1 of player with zombie skull named "&5Lv1Slayer" with lore "&55000Coinを消費します" to close then run [ execute player command "/strs zombielv1 %player%"]
  36. command /strs [<text>] [<player>]:
  37. trigger:
  38. if arg 1 is "zombielv1":
  39. if arg 2 is set:
  40. send "&5ZombieSlayerが開始しました。" to arg-2
  41. remove 5000 from {money.%arg 2%}
  42. set {slayer.%arg 2%} to "&azombielv1"
  43. set {slayert.%arg 2%} to true
  44. set {mobkill.%arg 2%} to 30
  45. command /off:
  46. trigger:
  47. set {slayer.%player%} to false
  48. set {slayert.%player%} to false
  49. set {mobkill.%arg 2%} to false
  50.  
  51. every seconds:
  52. loop all players:
  53. if {slayert.%loop-player%} is true:
  54. set name of sidebar of loop-player to "&5SlayerMission"
  55. set score "&6Slayer:%{slayer.%loop-player%}%" in sidebar of loop-player to 8
  56. set score "&6あと%{mobkill.%loop-player%}%体" in sidebar of loop-player to 7
  57. if {slayert.%loop-player%} is false:
  58. set name of sidebar of loop-player to "&6EnderServer"
  59. set score "&6Thank you Playing" in sidebar of loop-player to 8
  60. set score "&6Server: RPG" in sidebar of loop-player to 7
  61. set score "&6Money:%{money.%loop-player%}%Coin" in sidebar of loop-player to 6
  62. if {slayert.%loop-player%} is not set:
  63. set name of sidebar of loop-player to "&6EnderServer"
  64. set score "&6Thank you Playing" in sidebar of loop-player to 8
  65. set score "&6Server: RPG" in sidebar of loop-player to 7
  66. set score "&6Money:%{money.%loop-player%}%Coin" in sidebar of loop-player to 6
  67. on death:
  68. if attacker is a player:
  69. if victim is zombie or skelleton
  70. if {slayert.%attacker%} is true:
  71. if {mobkill.%attacker%} >= 0:
  72. remove 1 from {mobkill.%attacker%}
  73. if {mobkill.%attacker%} <= 0:
  74. if {slayer.%attacker%} is "&azombielv1":
  75. send "test"
Add Comment
Please, Sign In to add comment