Advertisement
Blue_Tec

Untitled

Jun 1st, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.27 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 290 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 sword 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 sword 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 76 named "&cゲーム参加" to be unstealable
  209. format slot 44 of player with 404 named "&cプレイヤー設定メニュー" to be unstealable
  210.  
  211. on rightclick:
  212. if player is holding 76 named "&cゲーム参加":
  213. if {join::%uuid of player%} is true:
  214. execute console command "/bf leave %player%"
  215. execute player command "/joingame"
  216. else
  217. execute console command "/bf join %player%"
  218. execute player command "/joingame"
  219.  
  220. command /purchased [<text>] [<text>] [<offlineplayer>] [<number>]:
  221. trigger:
  222. if arg-1 is "vip":
  223. if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
  224. send "&6VIPの購入に成功しました。" to arg-3
  225. execute console command "pex user %arg-3% prefix &e&l[VIP]"
  226. if arg-1 is "goldticket":
  227. if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
  228. if arg-3 is set:
  229. if arg-4 is set:
  230. send arg-3 title "&6" with subtitle "&6&o金券チャージ完了!" for 3 seconds
  231. add arg-4 to {kinken::%uuid of arg-3%}
  232. wait 3 seconds
  233. send arg-3 title "&6" with subtitle "&6&o+%arg-4%" for 3 seconds
  234. send "&6金券: %{kinken::%uuid of arg-3%}%" to arg-3
  235.  
  236. command /votekey [<text>] [<offlineplayer>]:
  237. trigger:
  238. if arg-1 is "1b13hiayi9BA8sdt":
  239. chance of 5%:
  240. broadcast "&2============================="
  241. broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
  242. broadcast "&6運が良かったようです。500円ボーナスされ、"
  243. broadcast "&b合計$750をもらったようです。"
  244. broadcast "&2============================="
  245. add 750 to {money::%uuid of arg-2%}
  246. else:
  247. broadcast "&2============================="
  248. broadcast "&b%arg-2%&fさんが投票して、&e$250&fを貰いました。"
  249. broadcast "&2============================="
  250. add 250 to {money::%uuid of arg-2%}
  251.  
  252. command /joingame:
  253. trigger:
  254. if {join::%uuid of player%} is true:
  255. message "&c途中退出しました。"
  256. set {join::%uuid of player%} to false
  257. stop
  258. else:
  259. message "&a参加しました。"
  260. set {join::%uuid of player%} to true
  261. stop
  262.  
  263. command /gamestart:
  264. executable by: console
  265. trigger:
  266. set {gamestart} to true
  267.  
  268. on death:
  269. if {gamestart} is true:
  270. add 1 to {kills::%uuid of attacker%}
  271. add 1 to {deaths::%uuid of victim%}
  272.  
  273. command /gameend:
  274. executable by: console
  275. trigger:
  276. loop all players:
  277. if {gamestart} is true:
  278. if {join::%uuid of loop-player%} is true:
  279. loop {kills::%uuid of loop-player%} times:
  280. add 30 to {score.kill::%uuid of loop-player%}
  281. add 30 to {total.score::%uuid of player%}
  282. loop {deaths::%uuid of loop-player%} times:
  283. add 1 to {score.death::%uuid of player%}
  284. add 1 to {total.score::%uuid of player%}
  285. send "&b&l===========================================" to loop-player
  286. send "&c" to loop-player
  287. send "&c" to loop-player
  288. send "&e優勝/WonTeam &fα 1.0から追加" to loop-player
  289. send "&e殺害(%{kills::%uuid of loop-player%}%) &f$%{score.kill::%uuid of loop-player%}%" to loop-player
  290. send "&e死亡(%{deaths::%uuid of loop-player%}%) &f$%{score.death::%uuid of loop-player%}%" to loop-player
  291. send "&6合計 &f$%{total.score::%uuid of loop-player%}%" to loop-player
  292. send "&c" to loop-player
  293. send "&c" to loop-player
  294. send "&b&l===========================================" to loop-player
  295. add {total.score::%uuid of player%} to {money::%uuid of loop-player%}
  296. send "&7Finishing game..." to loop-player
  297. set {score.kill::%uuid of loop-player%} to 0
  298. set {total.score::%uuid of loop-player%} to 0
  299. set {score.death::%uuid of loop-player%} to 0
  300. set {kills::%uuid of loop-player%} to 0
  301. set {deaths::%uuid of loop-player%} to 0
  302. execute console command "/endendend y1iubybudiyIUaasjdjsa jkjfjojdny9y94sjihDfy8sy78ey879yyd8"
  303.  
  304. command /endendend [<text>] [<text>]:
  305. permission: skript.admin
  306. trigger:
  307. if arg-1 is "y1iubybudiyIUaasjdjsa":
  308. if arg-2 is "jkjfjojdny9y94sjihDfy8sy78ey879yyd8":
  309. wait 5 seconds
  310. set {gamestart} to false
  311.  
  312. command /managemoney [<text>] [<number>] [<player>]:
  313. permission: managemoney.sk
  314. trigger:
  315. if arg-1 is not set:
  316. message "&b/managemoney <set,add,remove> <数> <ユーザー>"
  317. if arg-1 is set:
  318. if arg-2 is not set:
  319. message "&b/managemoney <set,add,remove> <数> <ユーザー>"
  320. if arg-2 is set:
  321. if arg-3 is not set:
  322. message "&b/managemoney <set,add,remove> <数> <ユーザー>"
  323. if arg-3 is set:
  324. if arg-1 is "set":
  325. if arg-2 is not set:
  326. message "&b/managemoney <set> <数> <ユーザー>"
  327. if arg-2 is set:
  328. if arg-3 is not set:
  329. message "&b/managemoney <set> <数> <ユーザー>"
  330. if arg-3 is set:
  331. set {money::%uuid of arg-3%} to arg-2
  332. message "&6%arg-3%&aの$を&6%arg-2%&aにしました。"
  333. send "&aあなたの$が%arg-2%になりました。" to arg-3
  334. if arg-1 is "add":
  335. if arg-2 is not set:
  336. message "&b/managemoney <add> <数> <ユーザー>"
  337. if arg-2 is set:
  338. if arg-3 is not set:
  339. message "&b/managemoney <add> <数> <ユーザー>"
  340. if arg-3 is set:
  341. add arg-2 to {money::%uuid of arg-3%}
  342. message "&6%arg-3%&aへ$&6%arg-2%&aチャージしました。"
  343. send "&aあなたの$に%arg-2%をチャージしました。" to arg-3
  344. if arg-1 is "remove":
  345. if arg-2 is not set:
  346. message "&b/managemoney <remove> <数> <ユーザー>"
  347. if arg-2 is set:
  348. if arg-3 is not set:
  349. message "&b/managemoney <remove> <数> <ユーザー>"
  350. if arg-3 is set:
  351. remove arg-2 from {money::%uuid of arg-3%}
  352. message "&6%arg-3%&aの$から&6%arg-2%&aを削除しました。"
  353. send "&aあなたの$から&6%arg-2%&6を引かれました。" to arg-3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement