ArtzifyHD

MoneyCrate

Aug 6th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. options:
  2. nopermission: &c&l(!) &cYou don't have permission to execute this command.
  3.  
  4. command /moneycrate <players>:
  5. permission: moneycrate.give
  6. permission message: {@nopermission}
  7. trigger:
  8. give arg 1 chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<"
  9.  
  10. on rightclick:
  11. player is holding chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<"
  12. cancel event
  13. remove 1 chest named "&f&lMoney&a&lcrate" with lore "&7>> (Right-click) to receive your Money <<" from player
  14. set {money} to a random integer between 1 and 16
  15. if {Money} is 1:
  16. execute console command "/eco give %player% 10000"
  17. send "&bYou have received &f&l10000 Money "
  18. if {Money} is 2:
  19. execute console command "/eco give %player% 10000"
  20. send "&bYou have received &f&l10000 Money "
  21. if {Money} is 3:
  22. execute console command "/eco give %player% 20000"
  23. send "&bYou have received &f&l20000 Money "
  24. if {Money} is 4:
  25. execute console command "/eco give %player% 30000"
  26. send "&bYou have received &f&l30000 Money "
  27. if {Money} is 5:
  28. execute console command "/eco give %player% 40000"
  29. send "&bYou have received &f&l40000 Money "
  30. if {Money} is 6:
  31. execute console command "/eco give %player% 50000"
  32. send "&bYou have received &f&l50000 Money "
  33. if {Money} is 7:
  34. execute console command "/eco give %player% 60000"
  35. send "&bYou have received &f&l60000 Money "
  36. if {Money} is 8:
  37. execute console command "/eco give %player% 70000"
  38. send "&bYou have received &f&l70000 Money "
  39. if {Money} is 9:
  40. execute console command "/eco give %player% 80000"
  41. send "&bYou have received &f&l80000 Money "
  42. if {Money} is 10:
  43. execute console command "/eco give %player% 90000"
  44. send "&bYou have received &f&l90000 Money "
  45. if {Money} is 11:
  46. execute console command "/eco give %player% 100000"
  47. send "&bYou have received &f&l100000 Money "
  48. if {Money} is 12:
  49. execute console command "/eco give %player% 110000"
  50. send "&bYou have received &f&l110000 Money "
  51. if {Money} is 13:
  52. execute console command "/eco give %player% 120000"
  53. send "&bYou have received &f&l120000 Money "
  54. if {Money} is 14:
  55. execute console command "/eco give %player% 130000"
  56. send "&bYou have received &f&l130000 Money "
  57. if {Money} is 15:
  58. execute console command "/eco give %player% 140000"
  59. send "&bYou have received &f&l140000 Money "
  60. if {Money} is 16:
  61. execute console command "/eco give %player% 1500000"
  62. send "&bYou have received &f&l150000 Money "
Add Comment
Please, Sign In to add comment