Advertisement
Blue_Tec

Untitled

Mar 7th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. command /money [<text>] [<text>]:
  2. trigger:
  3. if arg-1 is not set:
  4. message "&6&lあなたの所持金&b&l%{money.%player%}%"
  5. if arg-1 is set:
  6. if arg-1 is "set":
  7. set {money.%player%} to arg-2
  8. command /shopd:
  9. trigger:
  10. open chest with 3 rows named "&0&lショップメニュー" to player
  11. format slot 0 of player with gray dye named "&cAK-47" with lore "&b2000 &6&l円" to be unstealable
  12. format slot 1 of player with gray dye named "&cMP5" with lore "&b2000 &6&l円" to be unstealable
  13. format slot 2 of player with gray dye named "&cSCAR-L" with lore "&b3000 &6&l円" to be unstealable
  14. format slot 3 of player with gray dye named "&cFAMAS" with lore "&b5000 &6&l円" to be unstealable
  15. format slot 4 of player with gray dye named "&cSCAR-H" with lore "&b20000 &6&l円" to be unstealable
  16. wait 2 ticks
  17. if {money.%player%} is greater than 2000:
  18. format slot 0 of player with green dye named "&2AK-47" with lore "&a購入可能" to be unstealable
  19. if {money.%player%} is greater than 2000:
  20. format slot 1 of player with green dye named "&2MP5" with lore "&a購入可能" to be unstealable
  21. if {money.%player%} is greater than 3000:
  22. format slot 2 of player with green dye named "&2SCAR-L" with lore "&a購入可能" to be unstealable
  23. if {money.%player%} is greater than 5000:
  24. format slot 3 of player with green dye named "&2FAMAS" with lore "&a購入可能" to be unstealable
  25. if {money.%player%} is greater than 20000:
  26. format slot 4 of player with green dye named "&2SCAR-H" with lore "&a購入可能" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement