dai_pon

Untitled

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