dai_pon

Untitled

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