dai_pon

Untitled

Mar 13th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.71 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. command /custom:
  5. trigger:
  6. open chest with 6 row named "武器の選択" to player
  7. wait 1 ticks
  8. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  9. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  10. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  11. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  12. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  13. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  14. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  15. format slot 25 of player with red concrete named "&c未開放" 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. if player has permission "sk.ak47":
  30. format slot 10 of player with gold shovel named "&8AK-47" to close then run [execute player command "/ak"]
  31. if player doesn't have permission "sk.ak47":
  32. format slot 10 {@locked}
  33. stop
  34. if player has permission "sk.m16":
  35. format slot 11 of player with wood axe named "&8M16" to close then run [execute player command "/m16"]
  36. if player doesn't have permission "sk.m16":
  37. format slot 11 {@locked}
  38. stop
  39. if player has permission "sk.ots":
  40. format slot 12 of player with gold shovel named "&8Ots-14" to close then run [execute player command "/ots"]
  41. if player doesn't have permission "sk.ots":
  42. format slot 12 {@locked}
  43. stop
  44. if player has permission "sk.galil":
  45. format slot 13 of player with prismarine shard named "&8Galil" to close then run [execute player command "/galil"]
  46. if player doesn't have permission "sk.galil":
  47. format slot 13 {@locked}
  48. stop
  49. if player has permission "sk.aug":
  50. format slot 14 of player with rabbit hide named "&8Aug" to close then run [execute player command "/aug"]
  51. if player doesn't have permission "sk.aug":
  52. format slot 14 {@locked}
  53. stop
  54. if player has permission "sk.aks":
  55. format slot 15 of player with 2267 named "&8AKS-74U" to close then run [execute player command "/aks"]
  56. if player doesn't have permission "sk.aks":
  57. format slot 15 {@locked}
  58. stop
  59. if player has permission "sk.m1":
  60. format slot 16 of player with 2262 named "&8M1-Garand" to close then run [execute player command "/m1"]
  61. if player doesn't have permission "sk.":
  62. format slot 16 {@locked}
  63. stop
  64. if player has permission "sk.camrs":
  65. format slot 19 of player with stone axe named "&8CAMRS" to close then run [execute player command "/camrs"]
  66. if player doesn't have permission "sk.camrs":
  67. format slot 19 {@locked}
  68. stop
  69. if player has permission "sk.scar":
  70. format slot 20 of player with wheat named "&8SCAR-L" to close then run [execute player command "/scar"]
  71. if player doesn't have permission "sk.scar":
  72. format slot 20 {@locked}
  73. stop
  74. if player has permission "sk.galil":
  75. format slot 21 of player with 2261 named "&8Bumblebee" to close then run [execute player command "/bum"]
  76. if player doesn't have permission "sk.galil":
  77. format slot 21 {@locked}
  78. stop
  79. if player has permission "sk.sfw":
  80. format slot 22 of player with wood pickaxe named "&8C8-SFW" to close then run [execute player command "/sfw"]
  81. if player doesn't have permission "sk.sfw":
  82. format slot 22 {@locked}
  83. stop
  84. if player has permission "sk.x95":
  85. format slot 23 of player with string named "&8X95" to close then run [execute player command "/x95"]
  86. if player doesn't have permission "sk.x95":
  87. format slot 23 {@locked}
  88. stop
  89.  
  90. on right click holding book:
  91. name of held item contains "&e解放の書1"
  92. execute console command "pex user %player% add sk.ak47"
  93. set {_location} to location of player
  94. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  95. send "&9>>> &e武器を開放しました!"
  96. remove 1 of player's held item from the player's inventory
  97.  
  98. on right click holding book:
  99. name of held item contains "&e解放の書2"
  100. execute console command "pex user %player% add sk.m16"
  101. set {_location} to location of player
  102. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  103. send "&9>>> &e武器を開放しました!"
  104. remove 1 of player's held item from the player's inventory
  105.  
  106. on right click holding book:
  107. name of held item contains "&e解放の書3"
  108. execute console command "pex user %player% add sk.ots"
  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 "&e解放の書4"
  116. execute console command "pex user %player% add sk.galil"
  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 "&e解放の書5"
  124. execute console command "pex user %player% add sk.aug"
  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 "&e解放の書6"
  132. execute console command "pex user %player% add sk.aks"
  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 "&e解放の書7"
  140. execute console command "pex user %player% add sk.m1"
  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 "&e解放の書8"
  148. execute console command "pex user %player% add sk.camrs"
  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 "&e解放の書9"
  156. execute console command "pex user %player% add sk.scar"
  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 "&e解放の書10"
  164. execute console command "pex user %player% add sk.bum"
  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 "&e解放の書11"
  172. execute console command "pex user %player% add sk.sfw"
  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 "&e解放の書12"
  180. execute console command "pex user %player% add sk.x95"
  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. command /ak:
  187. permission: sk.ak47
  188. trigger:
  189. set {_location} to location of player
  190. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  191. send "&9>>> &a武器を選択しました!"
  192. make console execute command "/scoreboard players set %player% main 7"
  193. wait 1 ticks
  194. make player execute command "/custom"
  195.  
  196. command /m16:
  197. permission: sk.m16
  198. trigger:
  199. set {_location} to location of player
  200. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  201. send "&9>>> &a武器を選択しました!"
  202. make console execute command "/scoreboard players set %player% main 9"
  203. wait 1 ticks
  204. make player execute command "/custom"
  205.  
  206. command /ots:
  207. permission: sk.ots
  208. trigger:
  209. set {_location} to location of player
  210. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  211. send "&9>>> &a武器を選択しました!"
  212. make console execute command "/scoreboard players set %player% main 8"
  213. wait 1 ticks
  214. make player execute command "/custom"
  215.  
  216. command /galil:
  217. permission: sk.galil
  218. trigger:
  219. set {_location} to location of player
  220. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  221. send "&9>>> &a武器を選択しました!"
  222. make console execute command "/scoreboard players set %player% main 10"
  223. wait 1 ticks
  224. make player execute command "/custom"
  225.  
  226. command /aug:
  227. permission: sk.aug
  228. trigger:
  229. set {_location} to location of player
  230. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  231. send "&9>>> &a武器を選択しました!"
  232. make console execute command "/scoreboard players set %player% main 11"
  233. wait 1 ticks
  234. make player execute command "/custom"
  235.  
  236. command /aks:
  237. permission: sk.aks
  238. trigger:
  239. set {_location} to location of player
  240. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  241. send "&9>>> &a武器を選択しました!"
  242. make console execute command "/scoreboard players set %player% main 12"
  243. wait 1 ticks
  244. make player execute command "/custom"
  245.  
  246. command /m1:
  247. permission: sk.m1
  248. trigger:
  249. set {_location} to location of player
  250. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  251. send "&9>>> &a武器を選択しました!"
  252. make console execute command "/scoreboard players set %player% main 27"
  253. wait 1 ticks
  254. make player execute command "/custom"
  255.  
  256. command /camrs:
  257. permission: sk.camrs
  258. trigger:
  259. set {_location} to location of player
  260. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  261. send "&9>>> &a武器を選択しました!"
  262. make console execute command "/scoreboard players set %player% main 29"
  263. wait 1 ticks
  264. make player execute command "/custom"
  265.  
  266. command /scar:
  267. permission: sk.scar
  268. trigger:
  269. set {_location} to location of player
  270. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  271. send "&9>>> &a武器を選択しました!"
  272. make console execute command "/scoreboard players set %player% main 30"
  273. wait 1 ticks
  274. make player execute command "/custom"
  275.  
  276. command /bum:
  277. permission: sk.bum
  278. trigger:
  279. set {_location} to location of player
  280. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  281. send "&9>>> &a武器を選択しました!"
  282. make console execute command "/scoreboard players set %player% main 39"
  283. wait 1 ticks
  284. make player execute command "/custom"
  285.  
  286. command /sfw:
  287. permission: sk.sfw
  288. trigger:
  289. set {_location} to location of player
  290. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  291. send "&9>>> &a武器を選択しました!"
  292. make console execute command "/scoreboard players set %player% main 41"
  293. wait 1 ticks
  294. make player execute command "/custom"
  295.  
  296. command /x95:
  297. permission: sk.x95
  298. trigger:
  299. set {_location} to location of player
  300. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  301. send "&9>>> &a武器を選択しました!"
  302. make console execute command "/scoreboard players set %player% main 42"
  303. wait 1 ticks
  304. make player execute command "/custom"
Advertisement
Add Comment
Please, Sign In to add comment