dai_pon

Untitled

Mar 15th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 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.  
  5. command /custom6:
  6. trigger:
  7. open chest with 6 row named "武器の選択" to player
  8. wait 1 ticks
  9. format slot 52 of player with iron_bars_block named "&7." to be unstealable
  10. format slot 51 of player with iron_bars_block named "&7." to be unstealable
  11. format slot 50 of player with iron_bars_block named "&7." to be unstealable
  12. format slot 49 of player with iron_bars_block named "&7." to be unstealable
  13. format slot 48 of player with iron_bars_block named "&7." to be unstealable
  14. format slot 47 of player with iron_bars_block named "&7." to be unstealable
  15. format slot 46 of player with iron_bars_block named "&7." to be unstealable
  16. format slot 45 of player with iron_bars_block named "&7." to be unstealable
  17. format slot 17 of player with black stained glass pane named "&7." to be unstealable
  18. format slot 26 of player with black stained glass pane named "&7." to be unstealable
  19. format slot 35 of player with black stained glass pane named "&7." to be unstealable
  20. format slot 18 of player with black stained glass pane named "&7." to be unstealable
  21. format slot 27 of player with black stained glass pane named "&7." to be unstealable
  22. format slot 53 of player with black stained glass pane named "&7." to be unstealable
  23. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  24. format slot 10 of player with red concrete named "&c未開放" to be unstealable
  25. format slot 11 of player with red concrete named "&c未開放" to be unstealable
  26. format slot 12 of player with red concrete named "&c未開放" to be unstealable
  27. format slot 13 of player with red concrete named "&c未開放" to be unstealable
  28. format slot 14 of player with red concrete named "&c未開放" to be unstealable
  29. format slot 15 of player with red concrete named "&c未開放" to be unstealable
  30. format slot 16 of player with red concrete named "&c未開放" to be unstealable
  31. format slot 19 of player with red concrete named "&c未開放" to be unstealable
  32. format slot 20 of player with red concrete named "&c未開放" to be unstealable
  33. format slot 21 of player with red concrete named "&c未開放" to be unstealable
  34. format slot 22 of player with red concrete named "&c未開放" to be unstealable
  35. format slot 23 of player with red concrete named "&c未開放" to be unstealable
  36. format slot 34 of player with red concrete named "&c未開放" to be unstealable
  37. format slot 25 of player with red concrete named "&c未開放" to be unstealable
  38. format slot 24 of player with red concrete named "&c未開放" to be unstealable
  39. set {_loop1} to 0
  40. loop 10 times:
  41. format slot {_loop1} {@none}
  42. add 1 to {_loop1}
  43. set {_loop2} to 36
  44. loop 10 times:
  45. format slot {_loop2} {@none}
  46. add 1 to {_loop2}
  47. set {_loop3} to 28
  48. loop 6 times:
  49. format slot {_loop3} {@locked}
  50. add 1 to {_loop3}
  51. if player has permission "sk.mg3":
  52. format slot 10 of player with diamond hoe named "&8MG3" to close then run [execute player command "/mg3"]
  53. else:
  54. format slot 10 {@locked}
  55. if player has permission "sk.rpk":
  56. format slot 11 of player with gold axe named "&8RPK" to close then run [execute player command "/rpk"]
  57. else:
  58. format slot 11 {@locked}
  59. if player has permission "sk.m134":
  60. format slot 12 of player with 419 named "&8M134" to close then run [execute player command "/m134"]
  61. else:
  62. format slot 12 {@locked}
  63. if player has permission "sk.mg34":
  64. format slot 13 of player with feather named "&8MG34" to close then run [execute player command "/mg34"]
  65. else:
  66. format slot 13 {@locked}
  67. if player has permission "sk.64":
  68. format slot 14 of player with leather named "&864式小銃" to close then run [execute player command "/64"]
  69. else:
  70. format slot 14 {@locked}
  71.  
  72.  
  73. on right click holding book:
  74. name of held item contains "&eMG3 解放の書"
  75. execute console command "pex user %player% add sk.mg3"
  76. set {_location} to location of player
  77. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  78. send "&9>>> &e武器を開放しました!"
  79. remove 1 of player's held item from the player's inventory
  80.  
  81. on right click holding book:
  82. name of held item contains "&eRPK 解放の書"
  83. execute console command "pex user %player% add sk.rpk"
  84. set {_location} to location of player
  85. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  86. send "&9>>> &e武器を開放しました!"
  87. remove 1 of player's held item from the player's inventory
  88.  
  89. on right click holding book:
  90. name of held item contains "&eM134 解放の書"
  91. execute console command "pex user %player% add sk.m134"
  92. set {_location} to location of player
  93. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  94. send "&9>>> &e武器を開放しました!"
  95. remove 1 of player's held item from the player's inventory
  96.  
  97. on right click holding book:
  98. name of held item contains "&eMG34 解放の書"
  99. execute console command "pex user %player% add sk.mg34"
  100. set {_location} to location of player
  101. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  102. send "&9>>> &e武器を開放しました!"
  103. remove 1 of player's held item from the player's inventory
  104.  
  105. on right click holding book:
  106. name of held item contains "&e64式小銃 解放の書"
  107. execute console command "pex user %player% add sk.64"
  108. set {_location} to location of player
  109. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 0.7 at {_location}
  110. send "&9>>> &e武器を開放しました!"
  111. remove 1 of player's held item from the player's inventory
  112.  
  113. command /mg3:
  114. permission: sk.mg3
  115. trigger:
  116. set {_location} to location of player
  117. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  118. send "&9>>> &a武器を選択しました!"
  119. make console execute command "/scoreboard players set %player% main 21"
  120. wait 3 ticks
  121. make player execute command "/custom6"
  122.  
  123. command /rpk:
  124. permission: sk.rpk
  125. trigger:
  126. set {_location} to location of player
  127. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  128. send "&9>>> &a武器を選択しました!"
  129. make console execute command "/scoreboard players set %player% main 22"
  130. wait 3 ticks
  131. make player execute command "/custom6"
  132.  
  133. command /m134:
  134. permission: sk.m134
  135. trigger:
  136. set {_location} to location of player
  137. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  138. send "&9>>> &a武器を選択しました!"
  139. make console execute command "/scoreboard players set %player% main 23"
  140. wait 3 ticks
  141. make player execute command "/custom6"
  142.  
  143. command /mg34:
  144. permission: sk.mg34
  145. trigger:
  146. set {_location} to location of player
  147. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  148. send "&9>>> &a武器を選択しました!"
  149. make console execute command "/scoreboard players set %player% main 26"
  150. wait 3 ticks
  151. make player execute command "/custom6"
  152.  
  153. command /64:
  154. permission: sk.64
  155. trigger:
  156. set {_location} to location of player
  157. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  158. send "&9>>> &a武器を選択しました!"
  159. make console execute command "/scoreboard players set %player% main 48"
  160. wait 3 ticks
  161. make player execute command "/custom6"
Advertisement
Add Comment
Please, Sign In to add comment