Advertisement
dai_pon

Untitled

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