dai_pon

Untitled

Mar 13th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.37 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.  
  39. if player has permission "sk.m16":
  40. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  41. else:
  42. format slot 11 {@locked}
  43. stop
  44.  
  45. if player has permission "sk.ots":
  46. format slot 12 of player with 2266 named "&8Ots-14" to close then run [execute player command "/ots"]
  47. else:
  48. format slot 12 {@locked}
  49. stop
  50.  
  51. if player has permission "sk.galil":
  52. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  53. else:
  54. format slot 13 {@locked}
  55. stop
  56.  
  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. else:
  60. format slot 14 {@locked}
  61. stop
  62.  
  63. if player has permission "sk.aks":
  64. format slot 15 of player with 2267 named "&8AKS-74U" to close then run [execute player command "/aks"]
  65. else:
  66. format slot 15 {@locked}
  67. stop
  68.  
  69. if player has permission "sk.m1":
  70. format slot 16 of player with 2262 named "&8M1-Garand" to close then run [execute player command "/m1"]
  71. else:
  72. format slot 16 {@locked}
  73. stop
  74.  
  75. if player has permission "sk.camrs":
  76. format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
  77. else:
  78. format slot 19 {@locked}
  79. stop
  80.  
  81. if player has permission "sk.scar":
  82. format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
  83. else:
  84. format slot 20 {@locked}
  85. stop
  86.  
  87. if player has permission "sk.bum":
  88. format slot 21 of player with 2261 named "&8Bumblebee" to close then run [execute player command "/bum"]
  89. else:
  90. format slot 21 {@locked}
  91. stop
  92.  
  93. if player has permission "sk.sfw":
  94. format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
  95. else:
  96. format slot 22 {@locked}
  97. stop
  98.  
  99. if player has permission "sk.x95":
  100. format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
  101. else:
  102. format slot 23 {@locked}
  103. stop
  104.  
  105.  
  106. on right click holding book:
  107. name of held item contains "&eAK-47 解放の書"
  108. execute console command "pex user %player% add sk.ak47"
  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 "&eM16 解放の書"
  116. execute console command "pex user %player% add sk.m16"
  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 "&eOts-14 解放の書"
  124. execute console command "pex user %player% add sk.ots"
  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 "&eGalil 解放の書"
  132. execute console command "pex user %player% add sk.galil"
  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 "&eAug 解放の書"
  140. execute console command "pex user %player% add sk.aug"
  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 "&eAKS-74U 解放の書"
  148. execute console command "pex user %player% add sk.aks"
  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 "&eM1-Garand 解放の書"
  156. execute console command "pex user %player% add sk.m1"
  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 "&eCAMRS 解放の書"
  164. execute console command "pex user %player% add sk.camrs"
  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 "&eSCAR-L 解放の書"
  172. execute console command "pex user %player% add sk.scar"
  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. on right click holding book:
  179. name of held item contains "&eBumblebee 解放の書"
  180. execute console command "pex user %player% add sk.bum"
  181. set {_location} to location of player
  182. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  183. send "&9>>> &e武器を開放しました!"
  184. remove 1 of player's held item from the player's inventory
  185.  
  186. on right click holding book:
  187. name of held item contains "&eC8-SFW 解放の書"
  188. execute console command "pex user %player% add sk.sfw"
  189. set {_location} to location of player
  190. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  191. send "&9>>> &e武器を開放しました!"
  192. remove 1 of player's held item from the player's inventory
  193.  
  194. on right click holding book:
  195. name of held item contains "&eX95 解放の書"
  196. execute console command "pex user %player% add sk.x95"
  197. set {_location} to location of player
  198. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  199. send "&9>>> &e武器を開放しました!"
  200. remove 1 of player's held item from the player's inventory
  201.  
  202. command /ak:
  203. permission: sk.ak47
  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 7"
  209. wait 1 ticks
  210. make player execute command "/custom"
  211.  
  212. command /m16:
  213. permission: sk.m16
  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 9"
  219. wait 1 ticks
  220. make player execute command "/custom"
  221.  
  222. command /ots:
  223. permission: sk.ots
  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 8"
  229. wait 1 ticks
  230. make player execute command "/custom"
  231.  
  232. command /galil:
  233. permission: sk.galil
  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 10"
  239. wait 1 ticks
  240. make player execute command "/custom"
  241.  
  242. command /aug:
  243. permission: sk.aug
  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 11"
  249. wait 1 ticks
  250. make player execute command "/custom"
  251.  
  252. command /aks:
  253. permission: sk.aks
  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% main 12"
  259. wait 1 ticks
  260. make player execute command "/custom"
  261.  
  262. command /m1:
  263. permission: sk.m1
  264. trigger:
  265. set {_location} to location of player
  266. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  267. send "&9>>> &a武器を選択しました!"
  268. make console execute command "/scoreboard players set %player% main 27"
  269. wait 1 ticks
  270. make player execute command "/custom"
  271.  
  272. command /camrs:
  273. permission: sk.camrs
  274. trigger:
  275. set {_location} to location of player
  276. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  277. send "&9>>> &a武器を選択しました!"
  278. make console execute command "/scoreboard players set %player% main 29"
  279. wait 1 ticks
  280. make player execute command "/custom"
  281.  
  282. command /scar:
  283. permission: sk.scar
  284. trigger:
  285. set {_location} to location of player
  286. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  287. send "&9>>> &a武器を選択しました!"
  288. make console execute command "/scoreboard players set %player% main 30"
  289. wait 1 ticks
  290. make player execute command "/custom"
  291.  
  292. command /bum:
  293. permission: sk.bum
  294. trigger:
  295. set {_location} to location of player
  296. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  297. send "&9>>> &a武器を選択しました!"
  298. make console execute command "/scoreboard players set %player% main 39"
  299. wait 1 ticks
  300. make player execute command "/custom"
  301.  
  302. command /sfw:
  303. permission: sk.sfw
  304. trigger:
  305. set {_location} to location of player
  306. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  307. send "&9>>> &a武器を選択しました!"
  308. make console execute command "/scoreboard players set %player% main 41"
  309. wait 1 ticks
  310. make player execute command "/custom"
  311.  
  312. command /x95:
  313. permission: sk.x95
  314. trigger:
  315. set {_location} to location of player
  316. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  317. send "&9>>> &a武器を選択しました!"
  318. make console execute command "/scoreboard players set %player% main 42"
  319. wait 1 ticks
  320. make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment