Guest User

srDrop

a guest
Oct 5th, 2014
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 KB | None | 0 0
  1. #Skrypt by SebxteR
  2.  
  3. options:
  4. tag: [&6Stefan&f] #Tag jaki ma się pojawiać przy wykopaniu surowca
  5.  
  6. wegiel: 2.0% #Jaki procent ma mieć węgiel
  7. zelazo: 1.3% #Jaki procent ma mieć żelazo
  8. lapis: 1.5% #Jaki procent ma mieć lapis lazuli
  9. redstone: 1.5% #Jaki procent ma mieć redstone
  10. zloto: 1.0% #Jaki procent ma mieć złoto
  11. emerald: 0.7% #Jaki procent ma mieć emeraldy
  12. diamenty: 0.7% #Jaki procent ma mieć diament
  13. exp: 100% #Jaki procent ma mieć exp
  14.  
  15. wegiel1: &8Znalazles wegiel #Wiadomość po wydobyciu węgla
  16. zelazo1: &7Znalazles zelazo #Wiadomość po wydobyciu żelaza
  17. lapis1: &9Znalazles lapis lazuli #Wiadomość po wydobyciu lapis lazuli
  18. redstone1: &cZnalazles redstone #Wiadomość po wydobyciu redstone
  19. zloto1: &6Znalazles zloto #Wiadomość po wydobyciu złota
  20. emerald1: &aZnalazles emerald #Wiadomość po wydobyciu emeraldu
  21. diamenty1: &bZnalazles diamenty #Wiadomość po wydobyciu diamentu
  22.  
  23. dzwiek: /playsound random.orb %name of player%
  24. dzwiek1: /playsound mob.blaze.death %name of player%
  25. dzwiek2: /playsound random.anvil_land %name of player%
  26.  
  27. on mine of stone:
  28. chance of {@wegiel}:
  29. give 1 coal to the player
  30. send "{@tag}{@wegiel1}"
  31. execute command "{@dzwiek}"
  32. stop
  33. chance of {@zelazo}:
  34. give 1 iron ore to the player
  35. send "{@tag}{@zelazo1}"
  36. execute command "{@dzwiek}"
  37. stop
  38. chance of {@lapis}:
  39. give a random number between 1 and 4 of lapis lazuli to the player
  40. send "{@tag}{@lapis1}"
  41. execute command "{@dzwiek}"
  42. stop
  43. chance of {@redstone}:
  44. give a random number between 1 and 4 of redstone to the player
  45. send "{@tag}{@redstone1}"
  46. execute command "{@dzwiek}"
  47. stop
  48. chance of {@zloto}:
  49. give 1 gold ore to the player
  50. send "{@tag}{@zloto1}"
  51. execute command "{@dzwiek}"
  52. stop
  53. chance of {@emerald}:
  54. give 1 emerald to the player
  55. send "{@tag}{@emerald1}"
  56. execute command "{@dzwiek}"
  57. stop
  58. chance of {@diamenty}:
  59. give 1 diamond to the player
  60. send "{@tag}{@diamenty1}"
  61. execute command "{@dzwiek2}"
  62. stop
  63. chance of {@exp}:
  64. give 1 exp to the player
  65.  
  66. if player's tool is pickaxe of fortune 1:
  67. chance of {@wegiel}:
  68. give a random number between 1 and 2 of coal to the player
  69. send "{@tag}{@wegiel1}"
  70. execute command "{@dzwiek}"
  71. stop
  72. chance of {@lapis}:
  73. give a random number between 1 and 5 of lapis lazuli to the player
  74. send "{@tag}{@lapis1}"
  75. execute command "{@dzwiek}"
  76. stop
  77. chance of {@redstone}:
  78. give a random number between 1 and 5 of redstone to the player
  79. send "{@tag}{@redstone1}"
  80. execute command "{@dzwiek}"
  81. stop
  82. chance of {@emerald}:
  83. give a random number between 1 and 2 of emerald to the player
  84. send "{@tag}{@emerald1}"
  85. execute command "{@dzwiek}"
  86. stop
  87. chance of {@diamenty}:
  88. give a random number between 1 and 2 of diamond to the player
  89. send "{@tag}{@diamenty1}"
  90. execute command "{@dzwiek2}"
  91. stop
  92. if player's tool is pickaxe of fortune 2:
  93. chance of {@wegiel}:
  94. give a random number between 2 and 3 of coal to the player
  95. send "{@tag}{@redstone1}"
  96. execute command "{@dzwiek}"
  97. stop
  98. chance of {@lapis}:
  99. give a random number between 3 and 6 of lapis lazuli to the player
  100. send "{@tag}{@lapis1}"
  101. execute command "{@dzwiek}"
  102. stop
  103. chance of {@redstone}:
  104. give a random number between 3 and 6 of redstone to the player
  105. send "{@tag}{@redstone1}"
  106. execute command "{@dzwiek}"
  107. stop
  108. chance of {@emerald}:
  109. give a random number between 2 and 3 of emerald to the player
  110. send "{@tag}{@emerald1}"
  111. execute command "{@dzwiek}"
  112. stop
  113. chance of {@diamenty}:
  114. give a random number between 2 and 3 of diamond to the player
  115. send "{@tag}{@diamenty1}"
  116. execute command "{@dzwiek2}"
  117. stop
  118. if player's tool is pickaxe of fortune 3:
  119. chance of {@wegiel}:
  120. give a random number between 3 and 4 of coal to the player
  121. send "{@tag}{@redstone1}"
  122. execute command "{@dzwiek}"
  123. stop
  124. chance of {@lapis}:
  125. give a random number between 4 and 7 of lapis lazuli to the player
  126. send "{@tag}{@lapis1}"
  127. execute command "{@dzwiek}"
  128. stop
  129. chance of {@redstone}:
  130. give a random number between 4 and 7 of redstone to the player
  131. send "{@tag}{@redstone1}"
  132. execute command "{@dzwiek}"
  133. stop
  134. chance of {@emerald}:
  135. give a random number between 3 and 4 of emerald to the player
  136. send "{@tag}{@emerald1}"
  137. execute command "{@dzwiek}"
  138. stop
  139. chance of {@diamenty}:
  140. give a random number between 3 and 4 of diamond to the player
  141. send "{@tag}{@diamenty1}"
  142. execute command "{@dzwiek2}"
  143. stop
  144.  
  145. on mine of any ore:
  146. execute command "{@dzwiek1}"
  147. cancel event
  148. set block to stone
  149. send "{@tag}&c Ten surowiec wypada tylko ze stone."
  150. on mine of emerald ore:
  151. execute command "{@dzwiek1}"
  152. cancel event
  153. set block to stone
  154. send "{@tag}&c Ten surowiec wypada tylko ze stone."
  155. command /sebxter:
  156. trigger:
  157. send "{@tag} &cSkrypt by SebxteR"
  158. command /drop:
  159. trigger:
  160. send "{@tag} &8Wegiel 2.0"
  161. send "{@tag} &7Zelazo 1.3"
  162. send "{@tag} &9Lapis 1.5"
  163. send "{@tag} &cRedstone 1.5"
  164. send "{@tag} &6Zloto 1.0"
  165. send "{@tag} &aEmerald 0.7"
  166. send "{@tag} &bDiament 0.7"
Advertisement
Add Comment
Please, Sign In to add comment