Advertisement
LukaMC59

Untitled

Nov 12th, 2017
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. on first join:
  2. set player's balance to 10
  3.  
  4. command /sword1:
  5. trigger:
  6. if player's balance is less than 10:
  7. message "&9SkyPvP&8 »&7 You need atleast $10 to buy this sword!"
  8. else:
  9. remove 10 from player's balance
  10. execute console command "menu grab %player% sword1"
  11. message "&9SkyPvP &8» &7You have bought Tier 1 sword for $10"
  12.  
  13. command /sword2:
  14. trigger:
  15. if player's balance is less than 100:
  16. message "&9SkyPvP&8 »&7 You need atleast $100 to buy this sword!"
  17. else:
  18. remove 100 from player's balance
  19. execute console command "menu grab %player% sword2"
  20. message "&9SkyPvP &8» &7You have bought Tier 2 sword for $100"
  21.  
  22. command /sword3:
  23. trigger:
  24. if player's balance is less than 300:
  25. message "&9SkyPvP&8 »&7 You need atleast $300 to buy this sword!"
  26. else:
  27. remove 300 from player's balance
  28. execute console command "menu grab %player% sword3"
  29. message "&9SkyPvP &8» &7You have bought Tier 3 sword for $300"
  30.  
  31. command /sword4:
  32. trigger:
  33. if player's balance is less than 500:
  34. message "&9SkyPvP&8 »&7 You need atleast $500 to buy this sword!"
  35. else:
  36. remove 500 from player's balance
  37. execute console command "menu grab %player% sword4"
  38. message "&9SkyPvP &8» &7You have bought Tier 4 sword for $500"
  39.  
  40. command /sword5:
  41. trigger:
  42. if player's balance is less than 800:
  43. message "&9SkyPvP&8 »&7 You need atleast $800 to buy this sword!"
  44. else:
  45. remove 800 from player's balance
  46. execute console command "menu grab %player% sword1"
  47. message "&9SkyPvP &8» &7You have bought Tier 5 sword for $800"
  48.  
  49. command /shop:
  50. trigger:
  51. menu open %player% shop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement