Advertisement
siso_Friends

Untitled

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