dai_pon

Untitled

Mar 15th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.78 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 /custom7:
  6. trigger:
  7. open chest with 6 row named "武器の選択" to player
  8. wait 1 ticks
  9. format slot 52 of player with iron_bars_block named "&7." to be unstealable
  10. format slot 51 of player with iron_bars_block named "&7." to be unstealable
  11. format slot 50 of player with iron_bars_block named "&7." to be unstealable
  12. format slot 49 of player with iron_bars_block named "&7." to be unstealable
  13. format slot 48 of player with iron_bars_block named "&7." to be unstealable
  14. format slot 47 of player with iron_bars_block named "&7." to be unstealable
  15. format slot 46 of player with iron_bars_block named "&7." to be unstealable
  16. format slot 45 of player with iron_bars_block named "&7." to be unstealable
  17. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  18. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  19. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  20. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  21. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  22. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  23. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  24. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  25. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  31. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  32. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  33. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  34. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  35. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  36. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  37. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  38. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  39. set {_loop1} to 0
  40. loop 10 times:
  41. format slot {_loop1} {@none}
  42. add 1 to {_loop1}
  43. set {_loop2} to 36
  44. loop 10 times:
  45. format slot {_loop2} {@none}
  46. add 1 to {_loop2}
  47. set {_loop3} to 28
  48. loop 6 times:
  49. format slot {_loop3} {@locked}
  50. add 1 to {_loop3}
  51. if player has permission "sk.hinawa":
  52. format slot 10 of player with glowstone_dust named "&8火縄銃" to close then run [execute player command "/hinawa"]
  53. else:
  54. format slot 10 {@locked}
  55. if player has permission "sk.bow":
  56. format slot 11 of player with diamond axe named "&8X-Bow" to close then run [execute player command "/bow"]
  57. else:
  58. format slot 11 {@locked}
  59. if player has permission "sk.bow2":
  60. format slot 12 of player with diamond axe named "&8X-Bow.Mk.2" to close then run [execute player command "/bow2"]
  61. else:
  62. format slot 12 {@locked}
  63. if player has permission "sk.bow3":
  64. format slot 13 of player with diamond axe named "&8X-Bow.Mk.3" to close then run [execute player command "/bow3"]
  65. else:
  66. format slot 13 {@locked}
  67. if player has permission "sk.bow4":
  68. format slot 14 of player with diamond axe named "&8X-Bow.Mk.4" to close then run [execute player command "/bow4"]
  69. else:
  70. format slot 14 {@locked}
  71. if player has permission "sk.rpg":
  72. format slot 15 of player with diamond_horse_armour named "&8RPG-7" to close then run [execute player command "/rpg"]
  73. else:
  74. format slot 15 {@locked}
  75. if player has permission "sk.katana":
  76. format slot 16 of player with gold sword named "&8日本刀" to close then run [execute player command "/katana"]
  77. else:
  78. format slot 16 {@locked}
  79. if player has permission "sk.flame":
  80. format slot 19 of player with iron_horse_armour named "&8火炎放射器" to close then run [execute player command "/flame"]
  81. else:
  82. format slot 19 {@locked}
  83. if player has permission "sk.war":
  84. format slot 20 of player with coal named "&8War Machine" to close then run [execute player command "/war"]
  85. else:
  86. format slot 20 {@locked}
  87. if player has permission "sk.rail":
  88. format slot 21 of player with diamond shovel named "&8Rail Gun" to close then run [execute player command "/rail"]
  89. else:
  90. format slot 21 {@locked}
  91.  
  92. on right click holding book:
  93. name of held item contains "&eX-Bow 解放の書"
  94. execute console command "pex user %player% add sk.bow"
  95. set {_location} to location of player
  96. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  97. send "&9>>> &e武器を開放しました!"
  98. remove 1 of player's held item from the player's inventory
  99.  
  100. on right click holding book:
  101. name of held item contains "&eX-Bow.Mk.2 解放の書"
  102. execute console command "pex user %player% add sk.bow2"
  103. set {_location} to location of player
  104. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  105. send "&9>>> &e武器を開放しました!"
  106. remove 1 of player's held item from the player's inventory
  107.  
  108. on right click holding book:
  109. name of held item contains "&eX-Bow.Mk.3 解放の書"
  110. execute console command "pex user %player% add sk.bow3"
  111. set {_location} to location of player
  112. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  113. send "&9>>> &e武器を開放しました!"
  114. remove 1 of player's held item from the player's inventory
  115.  
  116. on right click holding book:
  117. name of held item contains "&eX-Bow.Mk.4 解放の書"
  118. execute console command "pex user %player% add sk.bow4"
  119. set {_location} to location of player
  120. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  121. send "&9>>> &e武器を開放しました!"
  122. remove 1 of player's held item from the player's inventory
  123.  
  124. on right click holding book:
  125. name of held item contains "&e火縄銃 解放の書"
  126. execute console command "pex user %player% add sk.hinawa"
  127. set {_location} to location of player
  128. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  129. send "&9>>> &e武器を開放しました!"
  130. remove 1 of player's held item from the player's inventory
  131.  
  132. on right click holding book:
  133. name of held item contains "&eRPG 解放の書"
  134. execute console command "pex user %player% add sk.rpg"
  135. set {_location} to location of player
  136. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  137. send "&9>>> &e武器を開放しました!"
  138. remove 1 of player's held item from the player's inventory
  139.  
  140. on right click holding book:
  141. name of held item contains "&e火炎放射器 解放の書"
  142. execute console command "pex user %player% add sk.flame"
  143. set {_location} to location of player
  144. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  145. send "&9>>> &e武器を開放しました!"
  146. remove 1 of player's held item from the player's inventory
  147.  
  148. on right click holding book:
  149. name of held item contains "&eWar Machine 解放の書"
  150. execute console command "pex user %player% add sk.shorty"
  151. set {_location} to location of player
  152. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  153. send "&9>>> &e武器を開放しました!"
  154. remove 1 of player's held item from the player's inventory
  155.  
  156. on right click holding book:
  157. name of held item contains "&e日本刀 解放の書"
  158. execute console command "pex user %player% add sk.katana"
  159. set {_location} to location of player
  160. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  161. send "&9>>> &e武器を開放しました!"
  162. remove 1 of player's held item from the player's inventory
  163.  
  164. on right click holding book:
  165. name of held item contains "&eRail Gun 解放の書"
  166. execute console command "pex user %player% add sk.rail"
  167. set {_location} to location of player
  168. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  169. send "&9>>> &e武器を開放しました!"
  170. remove 1 of player's held item from the player's inventory
  171.  
  172. command /hinawa:
  173. permission: sk.glock
  174. trigger:
  175. set {_location} to location of player
  176. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  177. send "&9>>> &a武器を選択しました!"
  178. make console execute command "/scoreboard players set %player% main 33"
  179. wait 3 ticks
  180. make player execute command "/custom7"
  181.  
  182. command /bow:
  183. permission: sk.bow
  184. trigger:
  185. set {_location} to location of player
  186. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  187. send "&9>>> &a武器を選択しました!"
  188. make console execute command "/scoreboard players set %player% main 34"
  189. wait 3 ticks
  190. make player execute command "/custom7"
  191.  
  192. command /bow2:
  193. permission: sk.bow2
  194. trigger:
  195. set {_location} to location of player
  196. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  197. send "&9>>> &a武器を選択しました!"
  198. make console execute command "/scoreboard players set %player% main 35"
  199. wait 3 ticks
  200. make player execute command "/custom7"
  201.  
  202. command /bow3:
  203. permission: sk.bow3
  204. trigger:
  205. set {_location} to location of player
  206. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  207. send "&9>>> &a武器を選択しました!"
  208. make console execute command "/scoreboard players set %player% main 36"
  209. wait 3 ticks
  210. make player execute command "/custom7"
  211.  
  212. command /rpg:
  213. permission: sk.rpg
  214. trigger:
  215. set {_location} to location of player
  216. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  217. send "&9>>> &a武器を選択しました!"
  218. make console execute command "/scoreboard players set %player% main 37"
  219. wait 3 ticks
  220. make player execute command "/custom7"
  221.  
  222. command /flame:
  223. permission: sk.flame
  224. trigger:
  225. set {_location} to location of player
  226. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  227. send "&9>>> &a武器を選択しました!"
  228. make console execute command "/scoreboard players set %player% main 38"
  229. wait 3 ticks
  230. make player execute command "/custom7"
  231.  
  232. command /katana:
  233. permission: sk.katana
  234. trigger:
  235. set {_location} to location of player
  236. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  237. send "&9>>> &a武器を選択しました!"
  238. make console execute command "/scoreboard players set %player% main 49"
  239. wait 3 ticks
  240. make player execute command "/custom7"
  241.  
  242. command /rail:
  243. permission: sk.rail
  244. trigger:
  245. set {_location} to location of player
  246. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  247. send "&9>>> &a武器を選択しました!"
  248. make console execute command "/scoreboard players set %player% main 47"
  249. wait 3 ticks
  250. make player execute command "/custom7"
  251.  
  252. command /war:
  253. permission: sk.war
  254. trigger:
  255. set {_location} to location of player
  256. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  257. send "&9>>> &a武器を選択しました!"
  258. make console execute command "/scoreboard players set %player% sub 50"
  259. wait 3 ticks
  260. make player execute command "/custom7"
Advertisement
Add Comment
Please, Sign In to add comment