Advertisement
Guest User

Hypixel Skyblock Collection

a guest
Aug 7th, 2019
3,837
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.69 KB | None | 0 0
  1. command /collection [<text>]:
  2. trigger:
  3. if arg is set:
  4. if arg is "reload":
  5. make player execute command "/sk reload collection"
  6. stop
  7.  
  8.  
  9. if arg is "2":
  10. open virtual chest inventory with size 6 named "Collection" to player
  11. set {_b} to 0
  12. loop 54 times:
  13. format a gui slot {_b} of player with stained glass pane:15 named "&f" to do nothing
  14. add 1 to {_b}
  15. wait 1 tick
  16. set {_p.farming} to round(({collection.farming.%player%} * 100) / 17)
  17. format a gui slot 48 of player with arrow named "&aGo Back" with lore "&7To Collection" to close then run player command "/collection 2"
  18. format a gui slot 49 of player with barrier named "&cClose" to close
  19. format a gui slot 4 of player with painting named "&aCollection" with lore "&7View all of the items available||&7in RankUp. Collect more of an||&7item to unlock rewards on your||&7way to becoming a master of||&7RankUp!||||&7Collection Unlocked &e0.00%%||&f---------- &e0&6/&e10" to do nothing
  20. format a gui slot 20 of player with golden hoe named "&aFarming Collection" with lore "&7View your Farming Collection!||||&7Collection Unlocked || &e%{_p.farming}%&6%% &7- &e%{collection.farming.%player%}%&6/&e17||||&eClick to view!" to close then run player command "/collection farming"
  21. format a gui slot 21 of player with stone pickaxe named "&aMining Collection" with lore "&7View your Mining Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection mining"
  22. format a gui slot 22 of player with stone sword named "&aCombat Collection" with lore "&7View your Combat Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection combat"
  23. format a gui slot 23 of player with sapling:3 named "&aForaging Collection" with lore "&7View your Foraging Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection foraging"
  24. format a gui slot 24 of player with fishing rod named "&aFishing Collection" with lore "&7View your Fishing Collection!||||&7Collection Unlocked &e0.0&6%%||&f-------------------- &e0&6/&e2||||&eClick to view!" to close then run player command "/collection fishing"
  25. stop
  26.  
  27.  
  28. if arg is "farming":
  29. open virtual chest inventory with size 6 named "Farming Collection" to player
  30. set {_b} to 0
  31. loop 9 times:
  32. format a gui slot {_b} of player with stained glass pane:15 named "&f" to do nothing
  33. add 1 to {_b}
  34. set {_a} to 45
  35. loop 9 times:
  36. format a gui slot {_a} of player with stained glass pane:15 named "&f" to do nothing
  37. add 1 to {_a}
  38. format a gui slot 9 of player with stained glass pane:15 named "&f" to do nothing
  39. format a gui slot 18 of player with stained glass pane:15 named "&f" to do nothing
  40. format a gui slot 27 of player with stained glass pane:15 named "&f" to do nothing
  41. format a gui slot 36 of player with stained glass pane:15 named "&f" to do nothing
  42. format a gui slot 17 of player with stained glass pane:15 named "&f" to do nothing
  43. format a gui slot 26 of player with stained glass pane:15 named "&f" to do nothing
  44. format a gui slot 35 of player with stained glass pane:15 named "&f" to do nothing
  45. format a gui slot 44 of player with stained glass pane:15 named "&f" to do nothing
  46. wait 1 tick
  47. set {_p.farming} to round(({collection.farming.%player%} * 100) / 17)
  48. format a gui slot 4 of player with golden hoe named "&aFarming Collection" with lore "&7View your Farming Collection!||||&7Collection Unlocked || &e%{_p.farming}%&6%% &7- &e%{collection.farming.%player%}%&6/&e17" to do nothing
  49. format a gui slot 48 of player with arrow named "&aGo Back" with lore "&7To Collection" to close then run player command "/collection 2"
  50. format a gui slot 49 of player with barrier named "&cClose" to close
  51.  
  52. #
  53. # WHEAT
  54. #
  55.  
  56. if {collection.wheat.%player%} is set:
  57. if {level.wheat.%player%} is 1:
  58. set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 100)
  59. format a gui slot 10 of player with wheat named "&eWheat I" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat II|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e100||||&7Wheat II Reward|| &fWheat &7Generator||||&eClick to view!" to close then run player command "/collection wheat"
  60. if {level.wheat.%player%} is 2:
  61. set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 250)
  62. format a gui slot 10 of player with wheat named "&eWheat II" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat III|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e250||||&7Wheat III Reward|| &8+&610000 &7Coins||||&eClick to view!" to close then run player command "/collection wheat"
  63. if {level.wheat.%player%} is 3:
  64. set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 500)
  65. format a gui slot 10 of player with wheat named "&eWheat III" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat IV|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e500||||&7Wheat IV Reward|| &8+&b10 &7XP Levels||||&eClick to view!" to close then run player command "/collection wheat"
  66. if {level.wheat.%player%} is 4:
  67. set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 1000)
  68. format a gui slot 10 of player with wheat named "&eWheat IV" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat V|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e1000||||&7Wheat V Reward|| &8+&610000 &7Coins|| &8+&b10 &7XP Levels|| &fEnchanted Book (Run I) &7Enchantment||||&eClick to view!" to close then run player command "/collection wheat"
  69. if {level.wheat.%player%} is 5:
  70. set {_p.wheat} to round(({collection.wheat.%player%} * 100) / 2500)
  71. format a gui slot 10 of player with wheat named "&eWheat V" with lore "&7View all your Wheat Collection||&7progress and rewards!||||&7Progress to Wheat VI|| &e%{_p.wheat}%.0&6%% &7- &e%{collection.wheat.%player%}%&6/&e2500||||&7Wheat VI Reward|| &cWorking on it||||&eClick to view!" to close then run player command "/collection wheat"
  72.  
  73.  
  74. else:
  75. format a gui slot 10 of player with dye:8 named "&cWheat" with lore "&7Find this item to add it to your||&7collection and unlock collection||&7rewards!" to do nothing
  76.  
  77.  
  78. #
  79. # RANKUP MENU
  80. #
  81. else:
  82. open virtual chest inventory with size 3 named "RankUP Menu" to player
  83. format a gui slot 13 of player with painting named "&aCollection" with lore "&7View all of the items available||&7in RankUp. Collect more of an||&7item to unlock rewards on your||&7way to becoming a master of||&7RankUp!||||&7Collection Unlocked &e0.00%%||&f---------- &e0&6/&e10||||&eClick to view!" to close then run player command "/collection 2"
  84. stop
  85.  
  86. on break:
  87. if event-block is wheat:7:
  88. if {collection.wheat.%player%} is not set:
  89. set {collection.wheat.%player%} to 0
  90. set {level.wheat.%player%} to 1
  91. add 1 to {collection.farming.%player%}
  92. send " &6&lCOLLECTION UNLOCKED &eWheat"
  93. add 1 to {collection.wheat.%player%}
  94. if {collection.wheat.%player%} is greater than or equal to 100:
  95. set {level.wheat.%player%} to 2
  96. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  97. send " &6&lCOLLECTION LEVEL UP &eWheat &8I➜&eII"
  98. send " "
  99. send " &a&lREWARD"
  100. send " &fStraw Man Sword &7Common"
  101. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  102. if {collection.wheat.%player%} is greater than or equal to 250:
  103. set {level.wheat.%player%} to 3
  104. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  105. send " &6&lCOLLECTION LEVEL UP &eWheat &8II➜&eIII"
  106. send " "
  107. send " &a&lREWARD"
  108. send " &8+&610000 &7Coins"
  109. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  110. #add 10000 to player's account
  111. if {collection.wheat.%player%} is greater than or equal to 500:
  112. set {level.wheat.%player%} to 4
  113. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  114. send " &6&lCOLLECTION LEVEL UP &eWheat &8III➜&eIV"
  115. send " "
  116. send " &a&lREWARD"
  117. send " &8+&b10 &7XP Levels"
  118. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  119. add 10 to player's level
  120. if {collection.wheat.%player%} is greater than or equal to 1000:
  121. set {level.wheat.%player%} to 3
  122. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  123. send " &6&lCOLLECTION LEVEL UP &eWheat &8IV➜&eV"
  124. send " "
  125. send " &a&lREWARD"
  126. send " &8+&6100000 &7Coins"
  127. send " &8+&b10 &7XP Levels"
  128. send " &fEnchanted Book (Run I) &7Enchantment"
  129. send "&e▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬"
  130. #add 100000 to player's account
  131. add 10 to player's level
  132.  
  133. on join:
  134. if {collection.farming.%player%} is not set:
  135. set {collection.farming.%player%} to 0
  136.  
  137. command /debug:
  138. trigger:
  139. set {collection.farming.%player%} to 0
  140. delete {collection.wheat.%player%}
  141. delete {level.wheat.%player%}
  142. send "&cFarming restarded!"
  143.  
  144. on join:
  145. loop {players::*}:
  146. if "%loop-value%" = "%player%":
  147. stop
  148. add player to {players::*}
  149.  
  150. command /restartsv [<text>]:
  151. trigger:
  152. if player has permission "hideout.restart":
  153. if arg is "unnamed":
  154. loop {players::*}:
  155. set {collection.farming.%loop-value%} to 0
  156. delete {collection.wheat.%loop-value%}
  157. delete {level.wheat.%loop-value%}
  158. send "&aWorked!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement