Advertisement
Blue_Tec

Untitled

May 26th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.97 KB | None | 0 0
  1. options:
  2. #ここで武器の値段を変更します。(数を書かないといけない。)
  3. akm: 2000
  4. ar-15: 2000
  5. hunting: 2000
  6. m4a1: 2000
  7. ak-47: 2000
  8. sg553: 2000
  9. l85a2acoggl: 2000
  10. scar-h: 2000
  11. mp5a5: 2000
  12.  
  13. command /weapon:
  14. trigger:
  15. open chest with 3 rows named "&8&lショップ選択メニュー" to player
  16. wait 3 ticks
  17. format slot 10 of player with 409 named "&6&l>> &7Primary ショップメニュー" to close then run [execute player command "/primaryshop"]
  18. format slot 12 of player with orange dye named "&6&l>> &7Secondary ショップメニュー" to close then run [execute player command "/secondaryshop"]
  19. format slot 14 of player with egg named "&6&l>> &7Grenade ショップメニュー" to close then run [execute player command "/grenadeshop"]
  20. wait 1 tick
  21. format slot 16 of player with potion named "&6&l>> &7HealItem ショップメニュー" to close then run [execute player command "/healitemshop"]
  22.  
  23.  
  24. command /primaryshop:
  25. trigger:
  26. wait 2 ticks
  27. open chest with 3 rows named "&8&lカテゴリー選択" to player
  28. wait 3 ticks
  29. format slot 1 of player with iron horse armor named "&6&l>> &8&lアサルトライフル" to close then run [execute player command "/assaultshop"]
  30. format slot 4 of player with diamond horse armor named "&6&l>> &8&lサブマシンガン" to close then run [execute player command "/"]
  31. format slot 7 of player with gold nugget named "&6&l>> &8&lスナイパーライフル" to close then run [execute player command "/snipershop"]
  32. wait 1 tick
  33. format slot 19 of player with diamond axe named "&6&l>> &8&lショットガン" to close then run [execute player command "/"]
  34. format slot 22 of player with wooden shovel named "&6&l>> &8&lライトマシンガン" to close then run [execute player command "/"]
  35. format slot 25 of player with 351:7 named "&6&l>> &8&lその他・イベント武器" to close then run [execute player command "/"]
  36.  
  37. command /assaultshop:
  38. trigger:
  39. wait 2 ticks
  40. open chest with 6 rows named "&7&lショップ: Assault" to player
  41. wait 3 ticks
  42. format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
  43. format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
  44. format slot 9 of player with stone shovel of protection 4 named "&f&lAKM" with lore "&3&l$ {@akm}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7ヘッドショット:&f3||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.3" to close then run [message "&e既に取得しております。"]
  45. if {shot.have.ar-15::%uuid of player%} is true:
  46. format slot 10 of player with diamond of protection 4 named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.5" to close then run [execute player command "/buygun ar-15"]
  47. set line number 1 of lore of slot 10 of player
  48. else:
  49. format slot 10 of player with diamond named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7精度:&f1.5" to close then run [execute player command "/buygun ar-15"]
  50. if {shot.have.m4a1::%uuid of player%} is true:
  51. format slot 11 of player with wooden hoe of protection 4 named "&f&lM4A1" with lore "&3&l$ {@m4a1}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f1.5 seconds||&7威力:&f3||&7ヘッドショット:&f3||&7スニーク:&f1||&7スコープ:&f0.2||&7弾速:&f40||&7精度:&f1.5" to close then run [execute player command "/buygun m4a1"]
  52. else:
  53. format slot 11 of player with wooden hoe named "&f&lM4A1" with lore "&3&l$ {@m4a1}||&b||&7装填数:&f30||&7リロード時間:&f1.5 seconds||&7威力:&f3||&7ヘッドショット:&f3||&7スニーク:&f1||&7スコープ:&f0.2||&7弾速:&f40||&7精度:&f1.5" to close then run [execute player command "/buygun m4a1"]
  54. if {shot.have.ak-47::%uuid of player%} is true:
  55. format slot 12 of player with iron horse armor of protection 4 named "&f&lAK-47" with lore "&3&l$ {@ak-47}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f6||&7スニーク:&f1.2||&7スコープ:&f0.4||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun ak-47"]
  56. else:
  57. format slot 12 of player with iron horse armor named "&f&lAK-47" with lore "&3&l$ {@ak-47}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f6||&7スニーク:&f1.2||&7スコープ:&f0.4||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun ak-47"]
  58. if {shot.have.sg553::%uuid of player%} is true:
  59. format slot 13 of player with red dye of protection 4 named "&f&lSG553" with lore "&3&l$ {@sg553}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7スニーク:&f0.6||&7スコープ:&f0.2||&7弾速:&f100||&7精度:&f1.3" to close then run [execute player command "/buygun sg553"]
  60. else:
  61. format slot 13 of player with red dye named "&f&lSG553" with lore "&3&l$ {@sg553}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f2||&7スニーク:&f0.6||&7スコープ:&f0.2||&7弾速:&f100||&7精度:&f1.3" to close then run [execute player command "/buygun sg553"]
  62. if {shot.have.l85a2acoggl::%uuid of player%} is true:
  63. format slot 14 of player with diamond hoe of protection 4 named "&f&lL85A2ACOGGL" with lore "&3&l$ {@l85a2acoggl}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7スニーク:&f1.2||&7スコープ:&f0.5||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun l85a2acoggl"]
  64. else:
  65. format slot 14 of player with diamond hoe named "&f&lL85A2ACOGGL" with lore "&3&l$ {@l85a2acoggl}||&b||&7装填数:&f30||&7リロード時間:&f2 seconds||&7威力:&f3||&7スニーク:&f1.2||&7スコープ:&f0.5||&7弾速:&f40||&7精度:&f2" to close then run [execute player command "/buygun l85a2acoggl"]
  66. if {shot.have.scar-h::%uuid of player%} is true:
  67. format slot 14 of player with wooden axe of protection 4 named "&f&lSCAR-H" with lore "&3&l$ {@scar-h}||&c<取得済み>||&b||&7装填数:&f20||&7リロード時間:&f1.6 seconds||&7威力:&f3||&7スニーク:&f1||&7スコープ:&f0.5||&7弾速:&f100||&7精度:&f1.2" to close then run [execute player command "/buygun scar-h"]
  68. else:
  69. format slot 14 of player with wooden axe named "&f&lSCAR-H" with lore "&3&l$ {@scar-h}||&b||&7装填数:&f20||&7リロード時間:&f1.6 seconds||&7威力:&f3||&7スニーク:&f1||&7スコープ:&f0.5||&7弾速:&f100||&7精度:&f1.2" to close then run [execute player command "/buygun scar-h"]
  70.  
  71. command /snipershop:
  72. trigger:
  73. wait 2 ticks
  74. open chest with 2 rows named "&7&lショップ: Sniper" to player
  75. wait 3 ticks
  76. format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
  77. format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
  78. format slot 9 of player with shears named "&f&lHunting" with lore "&3&l$ {@hunting}||&c<取得済み>||&b||&7装填数:&f5||&7リロード時間:&f80.0ticks(単発)||&7威力:&f8||&7ヘッドショット:&&7弾速:&f100||&7連射間隔:&f4ticks||&7精度:&f0" to close then run [message "&e既に取得しております。"]
  79.  
  80. command /submachingun:
  81. trigger:
  82. wait 2 ticks
  83. open chest with 2 rows named "&7&lショップ: SubMachineGun" to player
  84. wait 3 ticks
  85. format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
  86. format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
  87. if {shot.have.mp5a5::%uuid of player%} is true:
  88. format slot 9 of player with diamond horse armor of protection 4 named "&f&lMP5A5" with lore "&3&l$ {@mp5a5}||&c<取得済み>||&b||&7装填数:&f32||&7リロード時間:&f2.5 seconds||&7威力:&f2||&7スニーク:&f1.9||&7スコープ:&f0.1||&7弾速:&f100||&7精度:&f3" to close then run [execute player command "/buygun mp5a5"]
  89. else:
  90. format slot 9 of player with diamond horse armor named "&f&lMP5A5" with lore "&3&l$ {@mp5a5}||&b||&7装填数:&f32||&7リロード時間:&f2.5 seconds||&7威力:&f2||&7スニーク:&f1.9||&7スコープ:&f0.1||&7弾速:&f100||&7精度:&f3" to close then run [execute player command "/buygun mp5a5"]
  91.  
  92. on command:
  93. if command is "weaponrate":
  94. cancel event
  95. wait 3 ticks
  96. execute player command "/weapon"
  97.  
  98. command /money [<text>] [<number>] [<player>]:
  99. permission: money.admin
  100. trigger:
  101. if arg-1 is not set:
  102. message "&8&l所持金 &7&l%{money::%uuid of player%}%"
  103. if arg-1 is set:
  104. if arg-2 is not set:
  105. message "&a&b/money add <数> , /money remove <数>"
  106. if arg-2 is set:
  107. if arg-3 is not set:
  108. if arg-1 is "add":
  109. add arg-2 to {money::%uuid of player%}
  110. message "&6%arg-2%&a円をチャージしました。"
  111. if arg-1 is "remove":
  112. remove arg-2 from {money::%uuid of player%}
  113. message "&6%arg-2%&a円を没収しました。"
  114. if arg-3 is set:
  115. if arg-1 is "add":
  116. add arg-2 to {money::%uuid of arg-3%}
  117. message "&6%arg-2%&a円を%arg-3%にチャージしました。"
  118. send "&bあなたは運営により、&a%arg-2%&b円を受け取りました。" to arg-3
  119. if arg-1 is "remove":
  120. remove arg-2 from {money::%uuid of arg-3%}
  121. message "&6%arg-2%&a円を%arg-3%から没収しました。"
  122. send "&cあなたは運営により、&a%arg-2%&c円を没収されました。" to arg-3
  123.  
  124. command /buygun [<text>]:
  125. trigger:
  126. if arg-1 is set:
  127. if arg-1 is "AR-15":
  128. if {shot.have.ar-15::%uuid of player%} is true:
  129. message "&e既に取得しております。"
  130. else:
  131. if {money::%uuid of player%} is greater than or equal to {@ar-15}:
  132. set {shot.have.ar-15::%uuid of player%} to true
  133. message "&aAR-15を購入しました。"
  134. remove {@ar-15} from {money::%uuid of player%}
  135. else:
  136. message "&a所持金が足りておりません。&e&l${@ar-15}&bが必要となります。"
  137. if arg-1 is "m4a1":
  138. if {shot.have.m4a1::%uuid of player%} is true:
  139. message "&e既に取得しております。"
  140. else:
  141. if {money::%uuid of player%} is greater than or equal to {@m4a1}:
  142. set {shot.have.m4a1::%uuid of player%} to true
  143. message "&aM4A1を購入しました。"
  144. remove {@m4a1} from {money::%uuid of player%}
  145. else:
  146. message "&a所持金が足りておりません。&e&l${@m4a1}&bが必要となります。"
  147. if arg-1 is "ak-47":
  148. if {shot.have.ak-47::%uuid of player%} is true:
  149. message "&e既に取得しております。"
  150. else:
  151. if {money::%uuid of player%} is greater than or equal to {@ak-47}:
  152. set {shot.have.ak-47::%uuid of player%} to true
  153. message "&aAK-47を購入しました。"
  154. remove {@ak-47} from {money::%uuid of player%}
  155. else:
  156. message "&a所持金が足りておりません。&e&l${@ak-47}&bが必要となります。"
  157. if arg-1 is "l85a2acoggl":
  158. if {shot.have.l85a2acoggl::%uuid of player%} is true:
  159. message "&e既に取得しております。"
  160. else:
  161. if {money::%uuid of player%} is greater than or equal to {@l85a2acoggl}:
  162. set {shot.have.l85a2acoggl::%uuid of player%} to true
  163. message "&L85A2ACOGGLを購入しました。"
  164. remove {@l85a2acoggl} from {money::%uuid of player%}
  165. else:
  166. message "&a所持金が足りておりません。&e&l${@l85a2acoggl}&bが必要となります。"
  167. if arg-1 is "sg553":
  168. if {shot.have.sg553::%uuid of player%} is true:
  169. message "&e既に取得しております。"
  170. else:
  171. if {money::%uuid of player%} is greater than or equal to {@sg553}:
  172. set {shot.have.sg553::%uuid of player%} to true
  173. message "&aSG553を購入しました。"
  174. remove {@sg553} from {money::%uuid of player%}
  175. else:
  176. message "&a所持金が足りておりません。&e&l${@sg553}&bが必要となります。"
  177. if arg-1 is "scar-h":
  178. if {shot.have.scar-h::%uuid of player%} is true:
  179. message "&e既に取得しております。"
  180. else:
  181. if {money::%uuid of player%} is greater than or equal to {@scar-h}:
  182. set {shot.have.scar-h::%uuid of player%} to true
  183. message "&aSCAR-Hを購入しました。"
  184. remove {@scar-h} from {money::%uuid of player%}
  185. else:
  186. message "&a所持金が足りておりません。&e&l${@scar-h}&bが必要となります。"
  187.  
  188.  
  189. on join:
  190. if {firstjoin::%player%} is true:
  191. stop
  192. else:
  193. set {firstjoin::%uuid of player%} to true
  194. set {money::%uuid of player%} to 500
  195. set {bougu.head.sho::%uuid of player%} to true
  196. set {bougu.chest.sho::%uuid of player%} to true
  197. set {bougu.leg.sho::%uuid of player%} to true
  198. set {bougu.boots.sho::%uuid of player%} to true
  199. set {shot.have.ak-47::%uuid of player%} to true
  200. set {shot.have.hunting::%uuid of player%} to true
  201. set {shot.have.m1191::%uuid of player%} to true
  202. set {shot.select.ak-47::%uuid of player%} to true
  203. add 1 to {level::%uuid of player%}
  204.  
  205. on join:
  206. clear player's inventory
  207. format slot 36 of player with 259 named "&c武器編集メニュー" to be unstealable
  208. format slot 40 of player with clock named "&cゲーム参加" to be unstealable
  209. format slot 44 of player with 404 named "&cプレイヤー設定メニュー" to be unstealable
  210.  
  211. command /purchased [<text>] [<offlineplayer>] [<amount>]:
  212. trigger:
  213. if arg-1 is "vip":
  214. if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
  215. send "&6VIPの購入に成功しました。" to arg-3
  216. execute console command "pex user %arg-3% prefix &e&l[VIP]"
  217. if arg-1 is "goldticket":
  218. if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
  219. if arg-3 is set:
  220. send arg-2 title "&6" with subtitle "&6&o金券チャージ完了!" for 3 seconds
  221. add arg-3 to {kinken::%uuid of arg-2%}
  222. wait 3 seconds
  223. send arg-2 title "&6" with subtitle "&6&o+%arg-3%" for 3 seconds
  224. send "&6金券: %{kinken::%uuid of arg-2%}%" to arg-2
  225.  
  226. command /votekey [<text>] [<offlineplayer>]:
  227. trigger:
  228. if arg-1 is "1b13hiayi9BA8sdt":
  229. chance of 5%:
  230. broadcast "&2============================="
  231. broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
  232. broadcast "&6運が良かったようです。500円ボーナスされ、"
  233. broadcast "&b合計$750をもらったようです。"
  234. broadcast "&2============================="
  235. add 750 to {money::%uuid of arg-2%}
  236. else:
  237. broadcast "&2============================="
  238. broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
  239. broadcast "&2============================="
  240. add 250 to {money::%uuid of arg-2%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement