dai_pon

Untitled

Mar 13th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.01 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. none2: of player with 101 named "&8." to be unstealable
  5.  
  6. command /custom:
  7. trigger:
  8. open chest with 6 row named "武器の選択" to player
  9. wait 1 ticks
  10. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  11. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  12. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  13. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  14. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  15. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  16. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  17. set {_loop1} to 0
  18. loop 10 times:
  19. format slot {_loop1} {@none}
  20. add 1 to {_loop1}
  21. set {_loop2} to 36
  22. loop 10 times:
  23. format slot {_loop2} {@none}
  24. add 1 to {_loop2}
  25. set {_loop3} to 28
  26. loop 6 times:
  27. format slot {_loop3} {@locked}
  28. add 1 to {_loop3}
  29. set {_loop4} to 46
  30. loop 7 times:
  31. format slot {_loop4} {@none2}
  32. add 1 to {_loop4}
  33. set {_loop5} to 10
  34. loop 7 times:
  35. format slot {_loop5} {@locked}
  36. add 1 to {_loop5}
  37. set {_loop6} to 19
  38. loop 7 times:
  39. format slot {_loop6} {@locked}
  40. add 1 to {_loop6}
  41. set {_loop7} to 19
  42. loop 7 times:
  43. format slot {_loop7} {@locked}
  44. add 1 to {_loop7}
  45. if player has permission "sk.ak47":
  46. format slot 10 of player with gold shovel named "&8AK-47" to close then run [execute player command "/ak"]
  47. stop
  48. if player has permission "sk.m16":
  49. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  50. stop
  51. if player has permission "sk.ots":
  52. format slot 12 of player with 2266 named "&8Ots-14" to close then run [execute player command "/ots"]
  53. stop
  54. if player has permission "sk.galil":
  55. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  56. stop
  57. if player has permission "sk.aug":
  58. format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
  59. stop
  60. if player has permission "sk.aks":
  61. format slot 15 of player with 2267 named "&8AKS-74U" to close then run [execute player command "/aks"]
  62. stop
  63. if player has permission "sk.m1":
  64. format slot 16 of player with 2262 named "&8M1-Garand" to close then run [execute player command "/m1"]
  65. stop
  66. if player has permission "sk.camrs":
  67. format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
  68. stop
  69. if player has permission "sk.scar":
  70. format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
  71. stop
  72. if player has permission "sk.bum":
  73. format slot 21 of player with 2261 named "&8Bumblebee" to close then run [execute player command "/bum"]
  74. stop
  75. if player has permission "sk.sfw":
  76. format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
  77. stop
  78. if player has permission "sk.x95":
  79. format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
  80. stop
  81.  
  82. on right click holding book:
  83. name of held item contains "&e解放の書1"
  84. execute console command "pex user %player% add sk.ak47"
  85. set {_location} to location of player
  86. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  87. send "&9>>> &e武器を開放しました!"
  88. remove 1 of player's held item from the player's inventory
  89.  
  90. on right click holding book:
  91. name of held item contains "&e解放の書2"
  92. execute console command "pex user %player% add sk.m16"
  93. set {_location} to location of player
  94. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  95. send "&9>>> &e武器を開放しました!"
  96. remove 1 of player's held item from the player's inventory
  97.  
  98. on right click holding book:
  99. name of held item contains "&e解放の書3"
  100. execute console command "pex user %player% add sk.ots"
  101. set {_location} to location of player
  102. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  103. send "&9>>> &e武器を開放しました!"
  104. remove 1 of player's held item from the player's inventory
  105.  
  106. on right click holding book:
  107. name of held item contains "&e解放の書4"
  108. execute console command "pex user %player% add sk.galil"
  109. set {_location} to location of player
  110. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  111. send "&9>>> &e武器を開放しました!"
  112. remove 1 of player's held item from the player's inventory
  113.  
  114. on right click holding book:
  115. name of held item contains "&e解放の書5"
  116. execute console command "pex user %player% add sk.aug"
  117. set {_location} to location of player
  118. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  119. send "&9>>> &e武器を開放しました!"
  120. remove 1 of player's held item from the player's inventory
  121.  
  122. on right click holding book:
  123. name of held item contains "&e解放の書6"
  124. execute console command "pex user %player% add sk.aks"
  125. set {_location} to location of player
  126. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  127. send "&9>>> &e武器を開放しました!"
  128. remove 1 of player's held item from the player's inventory
  129.  
  130. on right click holding book:
  131. name of held item contains "&e解放の書7"
  132. execute console command "pex user %player% add sk.m1"
  133. set {_location} to location of player
  134. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  135. send "&9>>> &e武器を開放しました!"
  136. remove 1 of player's held item from the player's inventory
  137.  
  138. on right click holding book:
  139. name of held item contains "&e解放の書8"
  140. execute console command "pex user %player% add sk.camrs"
  141. set {_location} to location of player
  142. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  143. send "&9>>> &e武器を開放しました!"
  144. remove 1 of player's held item from the player's inventory
  145.  
  146. on right click holding book:
  147. name of held item contains "&e解放の書9"
  148. execute console command "pex user %player% add sk.scar"
  149. set {_location} to location of player
  150. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  151. send "&9>>> &e武器を開放しました!"
  152. remove 1 of player's held item from the player's inventory
  153.  
  154. on right click holding book:
  155. name of held item contains "&e解放の書10"
  156. execute console command "pex user %player% add sk.bum"
  157. set {_location} to location of player
  158. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  159. send "&9>>> &e武器を開放しました!"
  160. remove 1 of player's held item from the player's inventory
  161.  
  162. on right click holding book:
  163. name of held item contains "&e解放の書11"
  164. execute console command "pex user %player% add sk.sfw"
  165. set {_location} to location of player
  166. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  167. send "&9>>> &e武器を開放しました!"
  168. remove 1 of player's held item from the player's inventory
  169.  
  170. on right click holding book:
  171. name of held item contains "&e解放の書12"
  172. execute console command "pex user %player% add sk.x95"
  173. set {_location} to location of player
  174. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  175. send "&9>>> &e武器を開放しました!"
  176. remove 1 of player's held item from the player's inventory
  177.  
  178. command /ak:
  179. permission: sk.ak47
  180. trigger:
  181. set {_location} to location of player
  182. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  183. send "&9>>> &a武器を選択しました!"
  184. make console execute command "/scoreboard players set %player% main 7"
  185. wait 1 ticks
  186. make player execute command "/custom"
  187.  
  188. command /m16:
  189. permission: sk.m16
  190. trigger:
  191. set {_location} to location of player
  192. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  193. send "&9>>> &a武器を選択しました!"
  194. make console execute command "/scoreboard players set %player% main 9"
  195. wait 1 ticks
  196. make player execute command "/custom"
  197.  
  198. command /ots:
  199. permission: sk.ots
  200. trigger:
  201. set {_location} to location of player
  202. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  203. send "&9>>> &a武器を選択しました!"
  204. make console execute command "/scoreboard players set %player% main 8"
  205. wait 1 ticks
  206. make player execute command "/custom"
  207.  
  208. command /galil:
  209. permission: sk.galil
  210. trigger:
  211. set {_location} to location of player
  212. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  213. send "&9>>> &a武器を選択しました!"
  214. make console execute command "/scoreboard players set %player% main 10"
  215. wait 1 ticks
  216. make player execute command "/custom"
  217.  
  218. command /aug:
  219. permission: sk.aug
  220. trigger:
  221. set {_location} to location of player
  222. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  223. send "&9>>> &a武器を選択しました!"
  224. make console execute command "/scoreboard players set %player% main 11"
  225. wait 1 ticks
  226. make player execute command "/custom"
  227.  
  228. command /aks:
  229. permission: sk.aks
  230. trigger:
  231. set {_location} to location of player
  232. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  233. send "&9>>> &a武器を選択しました!"
  234. make console execute command "/scoreboard players set %player% main 12"
  235. wait 1 ticks
  236. make player execute command "/custom"
  237.  
  238. command /m1:
  239. permission: sk.m1
  240. trigger:
  241. set {_location} to location of player
  242. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  243. send "&9>>> &a武器を選択しました!"
  244. make console execute command "/scoreboard players set %player% main 27"
  245. wait 1 ticks
  246. make player execute command "/custom"
  247.  
  248. command /camrs:
  249. permission: sk.camrs
  250. trigger:
  251. set {_location} to location of player
  252. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  253. send "&9>>> &a武器を選択しました!"
  254. make console execute command "/scoreboard players set %player% main 29"
  255. wait 1 ticks
  256. make player execute command "/custom"
  257.  
  258. command /scar:
  259. permission: sk.scar
  260. trigger:
  261. set {_location} to location of player
  262. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  263. send "&9>>> &a武器を選択しました!"
  264. make console execute command "/scoreboard players set %player% main 30"
  265. wait 1 ticks
  266. make player execute command "/custom"
  267.  
  268. command /bum:
  269. permission: sk.bum
  270. trigger:
  271. set {_location} to location of player
  272. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  273. send "&9>>> &a武器を選択しました!"
  274. make console execute command "/scoreboard players set %player% main 39"
  275. wait 1 ticks
  276. make player execute command "/custom"
  277.  
  278. command /sfw:
  279. permission: sk.sfw
  280. trigger:
  281. set {_location} to location of player
  282. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  283. send "&9>>> &a武器を選択しました!"
  284. make console execute command "/scoreboard players set %player% main 41"
  285. wait 1 ticks
  286. make player execute command "/custom"
  287.  
  288. command /x95:
  289. permission: sk.x95
  290. trigger:
  291. set {_location} to location of player
  292. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  293. send "&9>>> &a武器を選択しました!"
  294. make console execute command "/scoreboard players set %player% main 42"
  295. wait 1 ticks
  296. make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment