Advertisement
TeamFrags

DEVSKRIPT #2 BOUTIQUE POUR SERVEUR FARMTOWIN

May 26th, 2018
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. options:
  2. NoMoney: &cTu n'as pas assez d'argent
  3.  
  4.  
  5. command /Boutique:
  6. aliases: /Menu, /boutiqueserv, /boutiqueserveur
  7. trigger:
  8. open chest with 1 rows named "&eBoutique" to player
  9. wait 5 ticks
  10. format slot 0 of player with diamond named "&aRare" with lore "&d15 000$" to close then run [make player execute command "/§YT"]
  11. format slot 1 of player with name tag named "&7[&1Fr&fan&4ce&7]" with lore "&e25 000$" to close then run [make player execute command "/TagFR"]
  12. format slot 2 of player with name tag named "&7[&dVape&7]" with lore "&e25 000$" to close then run [make player execute command "/TagVape"]
  13.  
  14.  
  15. command /§YT:
  16. trigger:
  17. if player's balance is bigger than 15000:
  18. make server execute command "eco take %player% 15000"
  19. make server execute command "give %player% diamond 1"
  20. send "&bTu viens d'acheté un diamant !"
  21. else:
  22. send "&cTu n'as pas assez d'argent"
  23.  
  24. command /TagFR:
  25. trigger:
  26. if player's balance is bigger than 25000:
  27. make server execute command "eco take %player% 25000"
  28. make server execute command "manuaddv %player% suffix &7[&1Fr&fan&4ce&7]"
  29. broadcast "&7[&aBoutique&7] &a%player% vient d'acheter le tags &7[&1Fr&fan&4ce&7]"
  30. else:
  31. send "{@NoMoney}"
  32.  
  33. command /TagVape:
  34. trigger:
  35. if player's balance is bigger than 25000:
  36. make server execute command "eco take %player% 25000"
  37. make server execute command "manuaddv %player% suffix &7[&dVape&7]"
  38. broadcast "&7[&aBoutique&7] &a%player% vient d'acheter le tags &7[&dVape&7]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement