Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pay [<text>]:
- trigger:
- if arg-1 is not set:
- wait 1 ticks
- open chest with 2 row named "Kitの購入" to player
- if {stats.%player%.xp} >= 50:
- format slot 2 of player with bow named "&1弓使い" with lore "&a50xp" to close then run [execute player command "/pay yumihei"]
- else:
- format slot 2 of player with bow named "弓使い" with lore "&cあなたは購入条件を満たしてません!&6(必要xp=50)" to be unstealable
- if {stats.%player%.xp} >= 30:
- format slot 3 of player with flint and steel named "&cファイアーマン" with lore "&a30xp" to close then run [execute player command "/pay pairo"]
- else:
- format slot 3 of player with flint and steel named "ファイアーマン" with lore "&cあなたは購入条件を満たしてません!&6(必要xp=30)" to be unstealable
- if {stats.%player%.xp} >= 70:
- format slot 4 of player with feather named "&b神速" with lore "&a70xp" to close then run [execute player command "/pay ansatusya"]
- else:
- format slot 4 of player with feather named "神速" with lore "&cあなたは購入条件を満たしてません!&6(必要xp=70)" to be unstealable
- on right click holding emerald:
- name of held item contains "Kit購入"
- execute player command "/pay"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement