Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #ここで武器の値段を変更します。(数を書かないといけない。)
- akm: 2000
- ar-15: 13000
- hunting: 2000
- command /weapon:
- trigger:
- open chest with 3 rows named "&8&lショップ選択メニュー" to player
- wait 3 ticks
- format slot 10 of player with 409 named "&6&l>> &7Primary ショップメニュー" to close then run [execute player command "/primaryshop"]
- format slot 12 of player with orange dye named "&6&l>> &7Secondary ショップメニュー" to close then run [execute player command "/secondaryshop"]
- format slot 14 of player with egg named "&6&l>> &7Grenade ショップメニュー" to close then run [execute player command "/grenadeshop"]
- wait 1 tick
- format slot 16 of player with potion named "&6&l>> &7HealItem ショップメニュー" to close then run [execute player command "/healitemshop"]
- command /primaryshop:
- trigger:
- wait 2 ticks
- open chest with 3 rows named "&8&lカテゴリー選択" to player
- wait 3 ticks
- format slot 1 of player with iron horse armor named "&6&l>> &8&lアサルトライフル" to close then run [execute player command "/assaultshop"]
- format slot 4 of player with diamond horse armor named "&6&l>> &8&lサブマシンガン" to close then run [execute player command "/"]
- format slot 7 of player with gold nugget named "&6&l>> &8&lスナイパーライフル" to close then run [execute player command "/snipershop"]
- wait 1 tick
- format slot 19 of player with diamond axe named "&6&l>> &8&lショットガン" to close then run [execute player command "/"]
- format slot 22 of player with wooden shovel named "&6&l>> &8&lライトマシンガン" to close then run [execute player command "/"]
- format slot 25 of player with 351:7 named "&6&l>> &8&lその他・イベント武器" to close then run [execute player command "/"]
- command /assaultshop:
- trigger:
- wait 2 ticks
- open chest with 2 rows named "&7&lショップ: Assault" to player
- wait 3 ticks
- format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
- format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
- format slot 9 of player with stone shovel named "&f&lAKM" with lore "&3&l$ {@akm}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f40.0ticks||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7連射間隔:&f4ticks||&7バースト:&f2||&7精度:&f1.3" to close then run [message "&e既に取得しております。"]
- if {shot.have.ar-15::%player%} is true:
- format slot 10 of player with diamond named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&c<取得済み>||&b||&7装填数:&f30||&7リロード時間:&f40.0ticks||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7連射間隔:&f4ticks||&7バースト:&f2||&7精度:&f1.3" to close then run [execute player command "/buygun ar-15"]
- else:
- format slot 10 of player with diamond named "&f&lAR-15" with lore "&3&l$ {@ar-15}||&b||&7装填数:&f30||&7リロード時間:&f40.0ticks||&7威力:&f3||&7ヘッドショット:&f2||&7スニーク:&f0.6||&7スコープ:&f0.4||&7弾速:&f100||&7連射間隔:&f4ticks||&7バースト:&f2||&7精度:&f1.3" to close then run [execute player command "/buygun ar-15"]
- command /snipershop:
- trigger:
- wait 2 ticks
- open chest with 2 rows named "&7&lショップ: Sniper" to player
- wait 3 ticks
- format slot 4 of player with clock named "&6&l>> &7&l戻る" to close then run [execute player command "/weaponrate"]
- format slot 8 of player with arrow named "&8&l次のページ" to close then run [execute player command "/o"]
- 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既に取得しております。"]
- on command:
- if command is "weaponrate":
- wait 3 ticks
- execute player command "/weapon"
- command /money [<text>] [<number>] [<player>]:
- trigger:
- if arg-1 is not set:
- message "&8&l所持金 &7&l%{money::%player%}%"
- if arg-1 is set:
- if player is an op:
- if arg-2 is not set:
- message "&a&b/money add <数> , /money remove <数>"
- if arg-2 is set:
- if arg-3 is not set:
- if arg-1 is "add":
- add arg-2 to {money::%player%}
- message "&6%arg-2%&a円をチャージしました。"
- if arg-1 is "remove":
- remove arg-2 from {money::%player%}
- message "&6%arg-2%&a円を没収しました。"
- if arg-3 is set:
- if arg-1 is "add":
- add arg-2 to {money::%player%}
- message "&6%arg-2%&a円を%arg-3%にチャージしました。"
- send "&bあなたは運営により、&a%arg-2%&b円を受け取りました。" to arg-3
- if arg-1 is "remove":
- remove arg-2 from {money::%player%}
- message "&6%arg-2%&a円を%arg-3%から没収しました。"
- send "&cあなたは運営により、&a%arg-2%&c円を没収されました。" to arg-3
- else:
- message "&cYou are not operator"
- command /buygun [<text>]:
- trigger:
- if arg-1 is set:
- if arg-1 is "AR-15":
- if {shot.have.ar-15::%player%} is true:
- message "&e既に取得しております。"
- else:
- if {money::%player%} is greater than or equal to {@ar-15}:
- set {shot.have.ar-15::%player%} to true
- message "&aAR-15を購入しました。"
- remove {@ar-15} from {money::%player%}
- else:
- message "&a所持金が足りておりません。&e&l${@ar-15}&bが必要となります。"
- command /selectgun:
- trigger:
- open chest with 6 rows named "&7&l武器カスタマイズ" to player
- wait 2 ticks
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- format slot 0 of player with black stained glass pane named "&6" to be unstealable
- on join:
- if {firstjoin::%player%} is true:
- stop
- else:
- set {firstjoin::%player%} to true
- set {money::%player%} to 500
- set {bougu.head.sho::%player%} to true
- set {bougu.chest.sho::%player%} to true
- set {bougu.leg.sho::%player%} to true
- set {bougu.boots.sho::%player%} to true
- set {shot.have.ak-47::%player%} to true
- set {shot.have.hunting::%player%} to true
- set {shot.have.m1191::%player%} to true
- set {shot.select.ak-47::%player%} to true
- add 1 to {level::%player%}
- on join:
- clear player's inventory
- format slot 36 of player with 259 named "&b&l武器編集メニュー" to be unstealable
- format slot 40 of player with clock named "&b&lゲーム参加" to be unstealable
- format slot 44 of player with 404 named "&b&lプレイヤー設定メニュー" to be unstealable
- command /purchased [<text>] [<text>] [<offlineplayer>]:
- trigger:
- if arg-1 is "vip":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- send "&6VIPの購入に成功しました。" to arg-3
- execute console command "pex user %arg-3% prefix &e&l[VIP]"
- if arg-1 is "kinken1":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- send "&6金券1枚の購入に成功しました。" to arg-3
- add 1 to {kinken::%uuid of arg-3%}
- send "&6金券: %{kinken::%uuid of arg-3%}%枚" to arg-3
- if arg-1 is "kinken32":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- send "&6金券32枚の購入に成功しました。" to arg-3
- add 32 to {kinken::%uuid of arg-3%}
- send "&6金券: %{kinken::%uuid of arg-3%}%枚" to arg-3
- if arg-1 is "kinken64":
- if arg-2 is "1un1n24u918295uush9138joanij913hiahsdyb120salsdfj":
- send "&6金券64枚の購入に成功しました。" to arg-3
- add 64 to {kinken::%uuid of arg-3%}
- send "&6金券: %{kinken::%uuid of arg-3%}%枚" to arg-3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement