Guest User

Untitled

a guest
Jul 2nd, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.91 KB | None | 0 0
  1. on break of sponge:
  2. cancel event
  3. set event-block to air
  4. chance of 10%:
  5. give a brown dye named "&6&lHovno" with lore "&dA poriadne smradlave, ale||&dvykaly vraj nosia stastie!||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
  6. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... poriadne velke &6Hovno&7!" to player
  7. stop
  8. chance of 9%:
  9. give a light gray dye named "&6&lPouzity kondom" with lore "&dBohuzial, znovu pouzit by|| si ho asi nechcel.||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
  10. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... pouzity &cKondom&7!" to player
  11. stop
  12. chance of 9%:
  13. give a poisonous potato named "&6&lZhnity zemiak" with lore "&dPrisiel si neskoro, tento|| zemiak jednoducho zhnil.||&dSkus to nabuduce &aznovu...||&7 ||&c&lMidas&7&lCraft||&5[LuckyBlock item]" to the player
  14. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &bZhnity zemiak&7!" to player
  15. stop
  16. chance of 12%:
  17. give a coal ore to the player
  18. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9uhelnu rudu&7!" to player
  19. stop
  20. chance of 12%:
  21. give a emerald ore to the player
  22. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9emeraldovu rudu&7!" to player
  23. stop
  24. chance of 9%:
  25. give a diamond ore to the player
  26. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... &9diamantovu rudu&7!" to player
  27. stop
  28. chance of 6%:
  29. set block above the player to anvil
  30. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam... padajucu &aKovadlinu&7!" to player
  31. stop
  32. chance of 6%:
  33. strike lightning at the player
  34. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7cim si nahneval boha hromu a ten ta zasiahol &aBleskom&7!" to player
  35. stop
  36. chance of 6%:
  37. ignite the player for 10 seconds
  38. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7ktory ta &6podpalil &7na 10 sekund!" to player
  39. stop
  40. chance of 6%:
  41. poison the player for 10 seconds
  42. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock&7, ktory patril bosorke! Ta ta preto &6otravila&7 na 10 sekund!" to player
  43. stop
  44. chance of 5%:
  45. execute console command "crate key %player% HadesovPoklad 1"
  46. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &8Kluc od pokladu boha Hadesa&7! &eGratulujeme!" to player
  47. broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
  48. stop
  49. chance of 4%:
  50. execute console command "crate key %player% ZeleznyPoklad 1"
  51. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fKluc od pokladu boha Dionyza&7! &eGratulujeme!" to player
  52. broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
  53. stop
  54. chance of 3%:
  55. execute console command "crate key %player% ZlatyPoklad 1"
  56. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
  57. broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
  58. stop
  59. chance of 2%:
  60. execute console command "crate key %player% DiamantovyPoklad 1"
  61. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
  62. broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
  63. stop
  64. chance of 1%:
  65. execute console command "crate key %player% DiovPoklad 1"
  66. send "&8[&cMidas&7Craft&8] &7Otvoril si &eLuckyBlock &7a nasiel si tam &fZelezny kluc od pokladu&7! &eGratulujeme!" to player
  67. broadcast "&8[&cMidas&7Craft&8] &aHrac &6%player% &anasiel v &eLuckyBlocku&a kluc od pokladu! Gratulujeme!"
  68. stop
  69. options:
  70. lb_line: &7&m+----------&r&7[ &6&lLucky&e&lBlock &7]&r&7&m----------+
  71. version: 1.3
  72. tag: &6&lLucky&e&lBlock
  73.  
  74. on load:
  75. send "&6&lLucky&e&lBlock &7- &aSkript enabled&7!" to console
  76. loop all players:
  77. set {luckyblock:joinn:%loop-player%} to false
  78. if text from "https://pastebin.com/raw/gHeMaYZs" is not "1.3":
  79. wait 1.5 seconds
  80. send "&6&lLucky&e&lBlock &7- &aNew version available!" to console
  81. else:
  82. send "&6&lLucky&e&lBlock &7- &aYou are running the latest version" to console
  83. if {luckyblock::multiverseinv} is not set:
  84. set {luckyblock::multiverseinv} to false
  85.  
  86. on join:
  87. set {_player} to player
  88.  
  89. on skript stop:
  90. send "&6&lLucky&e&lBlock &7- &cSkript disabled&7!" to console
  91.  
  92. command /luckyblock <text>:
  93. usage: /luckyblock help
  94. aliases: /lb, /luckyb, /lblock
  95. trigger:
  96. if arg 1 is not set:
  97. message "&fCorrect usage: /luckyblock help"
  98. if arg 1 is "help":
  99. message " "
  100. message "{@lb_line}"
  101. message " "
  102. message " &dPlayer Commands "
  103. message " "
  104. message "&e/luckyblock info&7: Show the skript info"
  105. message "&e/luckyblock help&7: Show command list"
  106. message "&e/luckyblock gui&7: Open luckyblock gui"
  107. message " "
  108. message "&e/luckyblock admin&7: Show admin commands."
  109. message "{@lb_line}"
  110. if arg 1 is "info":
  111. message " "
  112. message "{@lb_line}"
  113. message " "
  114. message " &dInfo Skript "
  115. message " "
  116. message "&eAuthor&7: DrackeFG"
  117. message "&eVersion&7: {@version}"
  118. message "&eDescription&7: Simple skript for using LuckyBlock"
  119. message "&eSpigot&7: https://goo.gl/jF6Mne"
  120. message ""
  121. message "{@lb_line}"
  122. if arg 1 is "admin":
  123. if player has permission "luckyblock.admin":
  124. message " "
  125. message "{@lb_line}"
  126. message " "
  127. message " &dAdmin Commands "
  128. message " "
  129. message "&e/luckyblock&7: Show this Message"
  130. message "&e/luckyblock info&7: Show the skript info"
  131. message "&e/luckyblock reload&7: reload the skript"
  132. message "&e/luckyblock version&7: Show the version of the script"
  133. message " "
  134. message "&e/luckyblock help&7 Show player commands."
  135. message "{@lb_line}"
  136. if arg 1 is "version":
  137. if player has permission "luckyblock.admin.version":
  138. message "&6&lLucky&e&lBlock &7- &aVersion&7: &r{@version}"
  139. if arg 1 is "gui":
  140. message ""
  141. message "{@tag} &8» &7You opened the {@tag} &4GUI"
  142. open chest with 1 rows named "{@tag} &7- &4GUI" to player
  143. wait 1 ticks
  144. format slot 2 of player with ("luck" parsed as offline player)'s skull named "&eSponge &cx1" with lore "&8» &cGet &ex1 {@tag}" to close then run [give a sponge named "{@tag}" to player]
  145. format slot 6 of player with ("luck" parsed as offline player)'s skull named "&eSponge &cx32" with lore "&8» &cGet &ex32 {@tag}" to close then run [give 32 sponge named "{@tag}" to player]
  146. if arg 1 is "reload":
  147. if player has permission "luckyblock.admin.reload":
  148. message "&6&lLucky&e&lBlock &7- &aSkript successfully reloaded!"
  149. command "/skript reload LuckyBlockPlus"
Advertisement
Add Comment
Please, Sign In to add comment