dai_pon

Untitled

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