dai_pon

Untitled

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