dai_pon

Untitled

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