Advertisement
UntitledGoose

Untitled

Feb 22nd, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. options:
  2. done: &7[&aQUESTS&7] You successfully completed the quest!
  3. none: &7[&aQUESTS&7] You don't meet the requirements to claim your reward!
  4.  
  5. on first join:
  6. set {_q1::%player's uuid%} to 0
  7. set {_q2::%player's uuid%} to 0
  8. set {_q3::%player's uuid%} to 0
  9. set {_q4::%player's uuid%} to 0
  10. set {_q5::%player's uuid%} to 0
  11. set {_q6::%player's uuid%} to 0
  12.  
  13. command quest:
  14. aliases: quests
  15. trigger:
  16. loop integers between 0 and 26:
  17. format gui slot loop-integer of player with gray stained glass pane named " " to do nothing
  18. format gui slot 11 of player with written book named "&7Quest 1 - Mine 50k Blocks" with lore "&7%{_q1::%player's uuid%}%/50000 Blocks Mined", "&7Reward:" and "&75 Crazy Crate Keys" to run:
  19. if {_q1::%player's uuid%} >= 50000:
  20. send "{@done}"
  21. execute console command "cc give physical crazy 5 %player%"
  22. set {_q1::%player's uuid%} to 0
  23. else:
  24. send "{@none}"
  25. format gui slot 12 of player with written book named "&7Quest 2 - Kill 50 Players" with lore "&7%{_q2::%player's uuid%}%/50 Players Killed", "&7Reward:" and "&71 Crazy Crate Key" to run:
  26. if {_q2::%player's uuid%} >= 50:
  27. send "{@done}"
  28. execute console command "cc give physical crazy 1 %player%"
  29. set {_q2::%player's uuid%} to 0
  30. else:
  31. send "{@none}"
  32. format gui slot 13 of player with written book named "&7Quest 3 - Sell 10 Inventories of Lapis Blocks" with lore "&7%{_q3::%player's uuid%}/23040 Blocks of Lapis Sold", "&7Reward:" and "&7$200k Ingame Cash" to run:
  33. if {_q3::%player's uuid%} >= 23040:
  34. send "{@done}"
  35. execute console command "eco give %player% 200000"
  36. set {_q3::%player's uuid%} to 0
  37. else:
  38. send "{@none}"
  39. format gui slot 14 of player with written book named "&7Quest 4 - Walk 4500 Blocks" with lore "&7%{_q4::%player's uuid%}/4500 Blocks Walked", "&7Reward:" and "&75 Basic Crate Keys and $30k Ingame Cash" to run:
  40. if {_q4::%player's uuid%} >= 4500:
  41. send "{@done}"
  42. execute console command "cc give physical basic 5 %player%"
  43. execute console command "eco give %player% 30000"
  44. set {_q4::%player's uuid%} to 0
  45. else:
  46. send "{@none}"
  47. format gui slot 15 of player with written book named "&7Quest 5 - Place 500 Blocks" with lore "&7%{_q5::%player's uuid%}/500 Blocks Placed", "&7Reward:" and "&7$20k Ingame Cash" to run:
  48. if {_q5::%player's uuid%} >= 500:
  49. send "{@done}"
  50. execute console command "eco give %player% 20000"
  51. set {_q5::%player's uuid%} to 0
  52. else:
  53. send "{@none}"
  54.  
  55. on place:
  56. add 1 to {_q5::%player's uuid%}
  57.  
  58. on break:
  59. add 1 to {_q1::%player's uuid%}
  60.  
  61. on death of player:
  62. add 1 to {_q2::%attacker's uuid%}
  63.  
  64. on step on all blocks:
  65. add 1 to {_q4::%player's uuid%}
  66.  
  67. on mine of lapis lazuli block:
  68. add 1 to {_q3::%player's uuid%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement