dai_pon

Untitled

Mar 15th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.57 KB | None | 0 0
  1. Options:
  2. none: of player with black stained glass pane named "&7." to be unstealable
  3. locked: of player with red concrete named "&c未開放" to be unstealable
  4.  
  5. command /custom:
  6. trigger:
  7. open chest with 6 row named "武器の選択" to player
  8. wait 1 ticks
  9. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  10. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  11. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  12. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  13. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  14. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  15. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  16. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  17. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  18. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  19. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  20. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  21. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  22. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  23. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  24. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  25. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  31. set {_loop1} to 0
  32. loop 10 times:
  33. format slot {_loop1} {@none}
  34. add 1 to {_loop1}
  35. set {_loop2} to 36
  36. loop 10 times:
  37. format slot {_loop2} {@none}
  38. add 1 to {_loop2}
  39. set {_loop3} to 28
  40. loop 6 times:
  41. format slot {_loop3} {@locked}
  42. add 1 to {_loop3}
  43. if player has permission "sk.striker":
  44. format slot 10 of player with iron shovel named "&8Striker12" to close then run [execute player command "/striker"]
  45. else:
  46. format slot 10 {@locked}
  47. if player has permission "sk.striker2":
  48. format slot 11 of player with iron shovel named "&8Striker12 Dual" to close then run [execute player command "/striker2"]
  49. else:
  50. format slot 11 {@locked}
  51. if player has permission "sk.spas":
  52. format slot 12 of player with stick named "&8SPAS-15" to close then run [execute player command "/spas"]
  53. else:
  54. format slot 12 {@locked}
  55. if player has permission "sk.m870":
  56. format slot 13 of player with 2256 named "&8M870" to close then run [execute player command "/m870"]
  57. else:
  58. format slot 13 {@locked}
  59. if player has permission "sk.win":
  60. format slot 14 of player with clay_ball named "&8Winchester Shotgun" to close then run [execute player command "/win"]
  61. else:
  62. format slot 14 {@locked}
  63.  
  64.  
  65. on right click holding book:
  66. name of held item contains "&eStriker12 解放の書"
  67. execute console command "pex user %player% add sk.striker"
  68. set {_location} to location of player
  69. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  70. send "&9>>> &e武器を開放しました!"
  71. remove 1 of player's held item from the player's inventory
  72.  
  73. on right click holding book:
  74. name of held item contains "&eStriker12 Dual 解放の書"
  75. execute console command "pex user %player% add sk.striker"
  76. set {_location} to location of player
  77. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  78. send "&9>>> &e武器を開放しました!"
  79. remove 1 of player's held item from the player's inventory
  80.  
  81. on right click holding book:
  82. name of held item contains "&eSPAS-15 解放の書"
  83. execute console command "pex user %player% add sk.spas"
  84. set {_location} to location of player
  85. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  86. send "&9>>> &e武器を開放しました!"
  87. remove 1 of player's held item from the player's inventory
  88.  
  89. on right click holding book:
  90. name of held item contains "&eM870 解放の書"
  91. execute console command "pex user %player% add sk.m870"
  92. set {_location} to location of player
  93. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  94. send "&9>>> &e武器を開放しました!"
  95. remove 1 of player's held item from the player's inventory
  96.  
  97. on right click holding book:
  98. name of held item contains "&eWinchester Shotgun 解放の書"
  99. execute console command "pex user %player% add sk.win"
  100. set {_location} to location of player
  101. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  102. send "&9>>> &e武器を開放しました!"
  103. remove 1 of player's held item from the player's inventory
  104.  
  105. command /striker:
  106. permission: sk.striker
  107. trigger:
  108. set {_location} to location of player
  109. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  110. send "&9>>> &a武器を選択しました!"
  111. make console execute command "/scoreboard players set %player% main 17"
  112. wait 1 ticks
  113. make player execute command "/custom5"
  114.  
  115. command /striker2:
  116. permission: sk.striker2
  117. trigger:
  118. set {_location} to location of player
  119. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  120. send "&9>>> &a武器を選択しました!"
  121. make console execute command "/scoreboard players set %player% main 18"
  122. wait 1 ticks
  123. make player execute command "/custom5"
  124.  
  125. command /spas:
  126. permission: sk.spas
  127. trigger:
  128. set {_location} to location of player
  129. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  130. send "&9>>> &a武器を選択しました!"
  131. make console execute command "/scoreboard players set %player% main 19"
  132. wait 1 ticks
  133. make player execute command "/custom5"
  134.  
  135. command /m870:
  136. permission: sk.m870
  137. trigger:
  138. set {_location} to location of player
  139. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  140. send "&9>>> &a武器を選択しました!"
  141. make console execute command "/scoreboard players set %player% main 20"
  142. wait 1 ticks
  143. make player execute command "/custom5"
  144.  
  145. command /win:
  146. permission: sk.win
  147. trigger:
  148. set {_location} to location of player
  149. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  150. send "&9>>> &a武器を選択しました!"
  151. make console execute command "/scoreboard players set %player% main 25"
  152. wait 1 ticks
  153. make player execute command "/custom5"
Advertisement
Add Comment
Please, Sign In to add comment