Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- player's tool is emerald named "&aショップ &7(right click)"
- open chest with 5 row named "&aショップ" to player
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&fYour Coins: &6%{coins.%player%}%" and "&fYour Cash: &e%{cash.%player%}%"
- set slot 11 of player's current inventory to bow named "&aキット & パーク"
- set slot 15 of player's current inventory to chest named "&aコスチュームショップ"
- set slot 31 of player's current inventory to barrier named "&c閉じる"
- player's tool is player's skull named "&aプロファイル &7(right click)"
- open chest with 5 row named "&aプロファイル" to player
- set slot 31 of player's current inventory to barrier named "&c閉じる"
- player's tool is chest named "&aコスチューム &7(right click)"
- open chest with 5 row named "&aコスチューム" to player
- set slot 11 of player's current inventory to bow named "&aキルエフェクト"
- set slot 13 of player's current inventory to bow named "&a死亡サウンド"
- set slot 15 of player's current inventory to bow named "&aビクトリーダンス"
- set slot 31 of player's current inventory to barrier named "&c閉じる"
- on inventory click:
- if name of clicked item is "&c閉じる":
- close player's inventory
- if name of clicked item is "&aキット & パーク":
- open chest with 5 row named "&aキット & パーク ショップ" to player
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&fYour Coins: &6%{coins.%player%}%" and "&2"
- set slot 11 of player's current inventory to bow named "&aキット"
- set slot 15 of player's current inventory to eye of ender named "&aパーク"
- set slot 31 of player's current inventory to barrier named "&c閉じる"
- if name of clicked item is "&aコスチュームショップ":
- open chest with 5 row named "&aコスチュームショップ" to player
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 11 of player's current inventory to slimeball named "&aキルエフェクトショップ"
- set slot 13 of player's current inventory to jukebox named "&a死亡サウンドショップ"
- set slot 15 of player's current inventory to dragon egg named "&aビクトリーダンスショップ"
- set slot 31 of player's current inventory to barrier named "&c閉じる"
- if name of clicked item is "&aキルエフェクトショップ":
- open chest with 5 row named "&aキルエフェクトショップ" to player
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&fYour Cash: &e%{cash.%player%}%" and "&2"
- set slot 11 of player's current inventory to glass named "&c雷" with lore "&1" and "&7このキルエフェクトは" and "&7倒したプレイヤーのところに雷を落とします。" and "&2" and "&7Price: &e800" and "&3" and "&cLOCKED"
- if {lightningbolt.%player%} is true:
- set slot 11 of player's current inventory to glass named "&a雷" with lore "&1" and "&7このキルエフェクトは" and "&7倒したプレイヤーのところに雷を落とします。" and "&2" and "&7Price: &e800" and "&3" and "&aUNLOCKED"
- if name of clicked item is "&c雷":
- if {cash.%player%} >= 800:
- send "&6雷 &aのキルエフェクトを購入しました!"
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- set {lightningbolt.%player%} to true
- remove 800 from {cash.%player%}
- stop
- else:
- send "&cキャッシュが不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement