Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. command /lucky:
  2. trigger:
  3. if player is holding a pickaxe:
  4. if line 1 of lore of player's tool is not set:
  5. set line 1 of lore of player's tool to "&7Jackhammer 0"
  6. if line 2 of lore of player's tool is not set:
  7. set line 2 of lore of player's tool to "&7Explosive 0"
  8. if line 3 of lore of player's tool is not set:
  9. set line 3 of lore of player's tool to "&7InstaSell 0"
  10. if line 4 of lore of player's tool is not set:
  11. set line 4 of lore of player's tool to "&7Merchant 0"
  12. if line 5 of lore of player's tool is not set:
  13. set line 5 of lore of player's tool to "&7Crate Finder 0"
  14. if line 6 of lore of player's tool is not set:
  15. set line 6 of lore of player's tool to "&7Token Excavator 0"
  16. if line 7 of lore of player's tool is not set:
  17. set line 7 of lore of player's tool to "&7Laser 0"
  18. if line 8 of lore of player's tool is not set:
  19. set line 8 of lore of player's tool to "&7Lucky 0"
  20. if line 9 of lore of player's tool is not set:
  21. set line 9 of lore of player's tool to "&7Drill 0"
  22. if {lucky.%player%} is less than 1:
  23. set line 8 of the lore of the player's tool to "&7Lucky 0"
  24. set {lucky.%player%} to 1
  25. else:
  26. if {ntokens.%player%} is less than 250000:
  27. send "&7You Need 250,000 N-Tokens For This!"
  28. if {ntokens.%player%} is greater than 249999:
  29. if line 8 of the lore of the player's tool is "&7Lucky 100":
  30. send "&7Your Lucky is already maxed!"
  31. if line 8 of the lore of the player's tool is not "&7Lucky 100":
  32. remove 250000 from {ntokens.%player%}
  33. send "&7You Bought +1 Lucky For 250,000 N-Tokens!"
  34. if line 8 of the lore of the player's tool is "&7Lucky 0":
  35. set line 8 of the lore of the player's tool to "&7Lucky 1"
  36. stop
  37. if line 8 of the lore of the player's tool is "&7Lucky 1":
  38. set line 8 of the lore of the player's tool to "&7Lucky 2"
  39. stop
  40. if line 8 of the lore of the player's tool is "&7Lucky 2":
  41. set line 8 of the lore of the player's tool to "&7Lucky 3"
  42. stop
  43. if line 8 of the lore of the player's tool is "&7Lucky 3":
  44. set line 8 of the lore of the player's tool to "&7Lucky 4"
  45. stop
  46. if line 8 of the lore of the player's tool is "&7Lucky 4":
  47. set line 8 of the lore of the player's tool to "&7Lucky 5"
  48. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement