Advertisement
Guest User

Skript

a guest
Jan 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.22 KB | None | 0 0
  1. # → Créditos:
  2. # › Criador: QUEM FEZ FOI EU, FOI O HADYMAN QUE FEZ FOI TU NAO, QUE QUE DOQ DOIDO FOI EU
  3. # › Versao: Primeira e ultima
  4. # › Versão MC: BCT
  5. # › Requer dependência: O plugin Skript ! '-'
  6. # › Blocos: Lapis ore, Diamond ore (Com os outros funciona do mesmo jeito!)
  7.  
  8.  
  9.  
  10.  
  11. on mine:
  12. if player is holding a pickaxe:
  13. if block is lapis ore:
  14. cancel event
  15. give 8 lapis lazuli to player
  16. set event-block to air
  17. chance of 70%:
  18. if player's tool is enchanted with fortune 1:
  19. give 2 lapis lazuli to player
  20. if player's tool is enchanted with fortune 2:
  21. give 4 lapis lazuli to player
  22. if player's tool is enchanted with fortune 3:
  23. give 6 lapis lazuli to player
  24. if player's tool is enchanted with fortune 4:
  25. give 8 lapis lazuli to player
  26. if player's tool is enchanted with fortune 5:
  27. give 10 lapis lazuli to player
  28. if player's tool is enchanted with fortune 6:
  29. give 12 lapis lazuli to player
  30. if player's tool is enchanted with fortune 7:
  31. give 14 lapis lazuli to player
  32. if player's tool is enchanted with fortune 8:
  33. give 16 lapis lazuli to player
  34. if player's tool is enchanted with fortune 9:
  35. give 18 lapis lazuli to player
  36. if player's tool is enchanted with fortune 10:
  37. give 20 lapis lazuli to player
  38. if player's tool is enchanted with fortune 11:
  39. give 22 lapis lazuli to player
  40. if player's tool is enchanted with fortune 12:
  41. give 24 lapis lazuli to player
  42. if player's tool is enchanted with fortune 13:
  43. give 26 lapis lazuli to player
  44. if player's tool is enchanted with fortune 14:
  45. give 28 lapis lazuli to player
  46. if player's tool is enchanted with fortune 15:
  47. give 30 lapis lazuli to player
  48. if player's tool is enchanted with fortune 16:
  49. give 32 lapis lazuli to player
  50. if player's tool is enchanted with fortune 17:
  51. give 34 lapis lazuli to player
  52. if player's tool is enchanted with fortune 18:
  53. give 36 lapis lazuli to player
  54. if player's tool is enchanted with fortune 19:
  55. give 38 lapis lazuli to player
  56. if player's tool is enchanted with fortune 20:
  57. give 40 lapis lazuli to player
  58. if player's tool is enchanted with fortune 21:
  59. give 42 lapis lazuli to player
  60. if player's tool is enchanted with fortune 22:
  61. give 44 lapis lazuli to player
  62. if player's tool is enchanted with fortune 23:
  63. give 46 lapis lazuli to player
  64. if player's tool is enchanted with fortune 24:
  65. give 48 lapis lazuli to player
  66. if player's tool is enchanted with fortune 25:
  67. give 50 lapis lazuli to player
  68. if player's tool is enchanted with fortune 26:
  69. give 52 lapis lazuli to player
  70. if player's tool is enchanted with fortune 27:
  71. give 54 lapis lazuli to player
  72. if player's tool is enchanted with fortune 28:
  73. give 56 lapis lazuli to player
  74. if player's tool is enchanted with fortune 29:
  75. give 58 lapis lazuli to player
  76. if player's tool is enchanted with fortune 30:
  77. give 60 lapis lazuli to player
  78. if player's tool is enchanted with fortune 31:
  79. give 62 lapis lazuli to player
  80. if player's tool is enchanted with fortune 32:
  81. give 64 lapis lazuli to player
  82. if player's tool is enchanted with fortune 33:
  83. give 66 lapis lazuli to player
  84. if player's tool is enchanted with fortune 34:
  85. give 68 lapis lazuli to player
  86. if player's tool is enchanted with fortune 35:
  87. give 70 lapis lazuli to player
  88. if player's tool is enchanted with fortune 36:
  89. give 72 lapis lazuli to player
  90. if player's tool is enchanted with fortune 37:
  91. give 74 lapis lazuli to player
  92. if player's tool is enchanted with fortune 38:
  93. give 76 lapis lazuli to player
  94. if player's tool is enchanted with fortune 39:
  95. give 78 lapis lazuli to player
  96. if player's tool is enchanted with fortune 40:
  97. give 80 lapis lazuli to player
  98. if player's tool is enchanted with fortune 41:
  99. give 82 lapis lazuli to player
  100. if player's tool is enchanted with fortune 42:
  101. give 84 lapis lazuli to player
  102. if player's tool is enchanted with fortune 43:
  103. give 86 lapis lazuli to player
  104. if player's tool is enchanted with fortune 44:
  105. give 88 lapis lazuli to player
  106. if player's tool is enchanted with fortune 45:
  107. give 90 lapis lazuli to player
  108. if player's tool is enchanted with fortune 46:
  109. give 92 lapis lazuli to player
  110. if player's tool is enchanted with fortune 47:
  111. give 94 lapis lazuli to player
  112. if player's tool is enchanted with fortune 48:
  113. give 96 lapis lazuli to player
  114. if player's tool is enchanted with fortune 49:
  115. give 98 lapis lazuli to player
  116. if player's tool is enchanted with fortune 50:
  117. give 100 lapis lazuli to player
  118. if player's tool is enchanted with fortune 51:
  119. give 102 lapis lazuli to player
  120. if player's tool is enchanted with fortune 52:
  121. give 104 lapis lazuli to player
  122. if player's tool is enchanted with fortune 53:
  123. give 106 lapis lazuli to player
  124. if player's tool is enchanted with fortune 54:
  125. give 108 lapis lazuli to player
  126. if player's tool is enchanted with fortune 55:
  127. give 110 lapis lazuli to player
  128. if player's tool is enchanted with fortune 56:
  129. give 112 lapis lazuli to player
  130. if player's tool is enchanted with fortune 57:
  131. give 114 lapis lazuli to player
  132. if player's tool is enchanted with fortune 58:
  133. give 116 lapis lazuli to player
  134. if player's tool is enchanted with fortune 59:
  135. give 118 lapis lazuli to player
  136. if player's tool is enchanted with fortune 60:
  137. give 120 lapis lazuli to player
  138. if player's tool is enchanted with fortune 61:
  139. give 122 lapis lazuli to player
  140. if player's tool is enchanted with fortune 62:
  141. give 124 lapis lazuli to player
  142. if player's tool is enchanted with fortune 63:
  143. give 126 lapis lazuli to player
  144. if player's tool is enchanted with fortune 64:
  145. give 128 lapis lazuli to player
  146. if player's tool is enchanted with fortune 65:
  147. give 130 lapis lazuli to player
  148. if player's tool is enchanted with fortune 66:
  149. give 132 lapis lazuli to player
  150. if player's tool is enchanted with fortune 67:
  151. give 134 lapis lazuli to player
  152. if player's tool is enchanted with fortune 68:
  153. give 136 lapis lazuli to player
  154. if player's tool is enchanted with fortune 69:
  155. give 138 lapis lazuli to player
  156. if player's tool is enchanted with fortune 70:
  157. give 140 lapis lazuli to player
  158. if player's tool is enchanted with fortune 71:
  159. give 142 lapis lazuli to player
  160. if player's tool is enchanted with fortune 72:
  161. give 144 lapis lazuli to player
  162. if player's tool is enchanted with fortune 73:
  163. give 146 lapis lazuli to player
  164. if player's tool is enchanted with fortune 74:
  165. give 148 lapis lazuli to player
  166. if player's tool is enchanted with fortune 75:
  167. give 150 lapis lazuli to player
  168. if player's tool is enchanted with fortune 76:
  169. give 152 lapis lazuli to player
  170. if player's tool is enchanted with fortune 77:
  171. give 154 lapis lazuli to player
  172. if player's tool is enchanted with fortune 78:
  173. give 156 lapis lazuli to player
  174. if player's tool is enchanted with fortune 79:
  175. give 158 lapis lazuli to player
  176. if player's tool is enchanted with fortune 80:
  177. give 160 lapis lazuli to player
  178. if player's tool is enchanted with fortune 81:
  179. give 162 lapis lazuli to player
  180. if player's tool is enchanted with fortune 82:
  181. give 164 lapis lazuli to player
  182. if player's tool is enchanted with fortune 83:
  183. give 166 lapis lazuli to player
  184. if player's tool is enchanted with fortune 84:
  185. give 168 lapis lazuli to player
  186. if player's tool is enchanted with fortune 85:
  187. give 170 lapis lazuli to player
  188. if player's tool is enchanted with fortune 86:
  189. give 172 lapis lazuli to player
  190. if player's tool is enchanted with fortune 87:
  191. give 174 lapis lazuli to player
  192. if player's tool is enchanted with fortune 88:
  193. give 176 lapis lazuli to player
  194. if player's tool is enchanted with fortune 89:
  195. give 178 lapis lazuli to player
  196. if player's tool is enchanted with fortune 90:
  197. give 180 lapis lazuli to player
  198. if player's tool is enchanted with fortune 91:
  199. give 182 lapis lazuli to player
  200. if player's tool is enchanted with fortune 92:
  201. give 184 lapis lazuli to player
  202. if player's tool is enchanted with fortune 93:
  203. give 186 lapis lazuli to player
  204. if player's tool is enchanted with fortune 94:
  205. give 188 lapis lazuli to player
  206. if player's tool is enchanted with fortune 95:
  207. give 190 lapis lazuli to player
  208. if player's tool is enchanted with fortune 96:
  209. give 192 lapis lazuli to player
  210. if player's tool is enchanted with fortune 97:
  211. give 194 lapis lazuli to player
  212. if player's tool is enchanted with fortune 98:
  213. give 196 lapis lazuli to player
  214. if player's tool is enchanted with fortune 99:
  215. give 198 lapis lazuli to player
  216. if player's tool is enchanted with fortune 100:
  217. give 200 lapis lazuli to player
  218. if player's tool is enchanted with fortune 101:
  219. give 202 lapis lazuli to player
  220. if player's tool is enchanted with fortune 102:
  221. give 204 lapis lazuli to player
  222. if player's tool is enchanted with fortune 103:
  223. give 206 lapis lazuli to player
  224. if player's tool is enchanted with fortune 104:
  225. give 208 lapis lazuli to player
  226. if player's tool is enchanted with fortune 105:
  227. give 210 lapis lazuli to player
  228. if player's tool is enchanted with fortune 106:
  229. give 212 lapis lazuli to player
  230. if player's tool is enchanted with fortune 107:
  231. give 214 lapis lazuli to player
  232. if player's tool is enchanted with fortune 108:
  233. give 216 lapis lazuli to player
  234. if player's tool is enchanted with fortune 109:
  235. give 218 lapis lazuli to player
  236. if player's tool is enchanted with fortune 110:
  237. give 220 lapis lazuli to player
  238. if block is diamond ore:
  239. cancel event
  240. give 1 diamond to player
  241. set event-block to air
  242. chance of 40%:
  243. if player's tool is enchanted with fortune 1:
  244. give 1 diamond to player
  245. if player's tool is enchanted with fortune 2:
  246. give 2 diamond to player
  247. if player's tool is enchanted with fortune 3:
  248. give 3 diamond to player
  249. if player's tool is enchanted with fortune 4:
  250. give 4 diamond to player
  251. if player's tool is enchanted with fortune 5:
  252. give 5 diamond to player
  253. if player's tool is enchanted with fortune 6:
  254. give 6 diamond to player
  255. if player's tool is enchanted with fortune 7:
  256. give 7 diamond to player
  257. if player's tool is enchanted with fortune 8:
  258. give 8 diamond to player
  259. if player's tool is enchanted with fortune 9:
  260. give 9 diamond to player
  261. if player's tool is enchanted with fortune 10:
  262. give 10 diamond to player
  263. if player's tool is enchanted with fortune 11:
  264. give 11 diamond to player
  265. if player's tool is enchanted with fortune 12:
  266. give 12 diamond to player
  267. if player's tool is enchanted with fortune 13:
  268. give 13 diamond to player
  269. if player's tool is enchanted with fortune 14:
  270. give 14 diamond to player
  271. if player's tool is enchanted with fortune 15:
  272. give 15 diamond to player
  273. if player's tool is enchanted with fortune 16:
  274. give 16 diamond to player
  275. if player's tool is enchanted with fortune 17:
  276. give 17 diamond to player
  277. if player's tool is enchanted with fortune 18:
  278. give 18 diamond to player
  279. if player's tool is enchanted with fortune 19:
  280. give 19 diamond to player
  281. if player's tool is enchanted with fortune 20:
  282. give 20 diamond to player
  283. if player's tool is enchanted with fortune 21:
  284. give 21 diamond to player
  285. if player's tool is enchanted with fortune 22:
  286. give 22 diamond to player
  287. if player's tool is enchanted with fortune 23:
  288. give 23 diamond to player
  289. if player's tool is enchanted with fortune 24:
  290. give 24 diamond to player
  291. if player's tool is enchanted with fortune 25:
  292. give 25 diamond to player
  293. if player's tool is enchanted with fortune 26:
  294. give 26 diamond to player
  295. if player's tool is enchanted with fortune 27:
  296. give 27 diamond to player
  297. if player's tool is enchanted with fortune 28:
  298. give 28 diamond to player
  299. if player's tool is enchanted with fortune 29:
  300. give 29 diamond to player
  301. if player's tool is enchanted with fortune 30:
  302. give 30 diamond to player
  303. if player's tool is enchanted with fortune 31:
  304. give 31 diamond to player
  305. if player's tool is enchanted with fortune 32:
  306. give 32 diamond to player
  307. if player's tool is enchanted with fortune 33:
  308. give 33 diamond to player
  309. if player's tool is enchanted with fortune 34:
  310. give 34 diamond to player
  311. if player's tool is enchanted with fortune 35:
  312. give 35 diamond to player
  313. if player's tool is enchanted with fortune 36:
  314. give 36 diamond to player
  315. if player's tool is enchanted with fortune 37:
  316. give 37 diamond to player
  317. if player's tool is enchanted with fortune 38:
  318. give 38 diamond to player
  319. if player's tool is enchanted with fortune 39:
  320. give 39 diamond to player
  321. if player's tool is enchanted with fortune 40:
  322. give 40 diamond to player
  323. if player's tool is enchanted with fortune 41:
  324. give 41 diamond to player
  325. if player's tool is enchanted with fortune 42:
  326. give 42 diamond to player
  327. if player's tool is enchanted with fortune 43:
  328. give 43 diamond to player
  329. if player's tool is enchanted with fortune 44:
  330. give 44 diamond to player
  331. if player's tool is enchanted with fortune 45:
  332. give 45 diamond to player
  333. if player's tool is enchanted with fortune 46:
  334. give 46 diamond to player
  335. if player's tool is enchanted with fortune 47:
  336. give 47 diamond to player
  337. if player's tool is enchanted with fortune 48:
  338. give 48 diamond to player
  339. if player's tool is enchanted with fortune 49:
  340. give 49 diamond to player
  341. if player's tool is enchanted with fortune 50:
  342. give 50 diamond to player
  343. if player's tool is enchanted with fortune 51:
  344. give 51 diamond to player
  345. if player's tool is enchanted with fortune 52:
  346. give 52 diamond to player
  347. if player's tool is enchanted with fortune 53:
  348. give 53 diamond to player
  349. if player's tool is enchanted with fortune 54:
  350. give 54 diamond to player
  351. if player's tool is enchanted with fortune 55:
  352. give 55 diamond to player
  353. if player's tool is enchanted with fortune 56:
  354. give 56 diamond to player
  355. if player's tool is enchanted with fortune 57:
  356. give 57 diamond to player
  357. if player's tool is enchanted with fortune 58:
  358. give 58 diamond to player
  359. if player's tool is enchanted with fortune 59:
  360. give 59 diamond to player
  361. if player's tool is enchanted with fortune 60:
  362. give 60 diamond to player
  363. if player's tool is enchanted with fortune 61:
  364. give 61 diamond to player
  365. if player's tool is enchanted with fortune 62:
  366. give 62 diamond to player
  367. if player's tool is enchanted with fortune 63:
  368. give 63 diamond to player
  369. if player's tool is enchanted with fortune 64:
  370. give 64 diamond to player
  371. if player's tool is enchanted with fortune 65:
  372. give 65 diamond to player
  373. if player's tool is enchanted with fortune 66:
  374. give 66 diamond to player
  375. if player's tool is enchanted with fortune 67:
  376. give 67 diamond to player
  377. if player's tool is enchanted with fortune 68:
  378. give 68 diamond to player
  379. if player's tool is enchanted with fortune 69:
  380. give 69 diamond to player
  381. if player's tool is enchanted with fortune 70:
  382. give 70 diamond to player
  383. if player's tool is enchanted with fortune 71:
  384. give 71 diamond to player
  385. if player's tool is enchanted with fortune 72:
  386. give 72 diamond to player
  387. if player's tool is enchanted with fortune 73:
  388. give 73 diamond to player
  389. if player's tool is enchanted with fortune 74:
  390. give 74 diamond to player
  391. if player's tool is enchanted with fortune 75:
  392. give 75 diamond to player
  393. if player's tool is enchanted with fortune 76:
  394. give 76 diamond to player
  395. if player's tool is enchanted with fortune 77:
  396. give 77 diamond to player
  397. if player's tool is enchanted with fortune 78:
  398. give 78 diamond to player
  399. if player's tool is enchanted with fortune 79:
  400. give 79 diamond to player
  401. if player's tool is enchanted with fortune 80:
  402. give 80 diamond to player
  403. if player's tool is enchanted with fortune 81:
  404. give 81 diamond to player
  405. if player's tool is enchanted with fortune 82:
  406. give 82 diamond to player
  407. if player's tool is enchanted with fortune 83:
  408. give 83 diamond to player
  409. if player's tool is enchanted with fortune 84:
  410. give 84 diamond to player
  411. if player's tool is enchanted with fortune 85:
  412. give 85 diamond to player
  413. if player's tool is enchanted with fortune 86:
  414. give 86 diamond to player
  415. if player's tool is enchanted with fortune 87:
  416. give 87 diamond to player
  417. if player's tool is enchanted with fortune 88:
  418. give 88 diamond to player
  419. if player's tool is enchanted with fortune 89:
  420. give 89 diamond to player
  421. if player's tool is enchanted with fortune 90:
  422. give 90 diamond to player
  423. if player's tool is enchanted with fortune 91:
  424. give 91 diamond to player
  425. if player's tool is enchanted with fortune 92:
  426. give 92 diamond to player
  427. if player's tool is enchanted with fortune 93:
  428. give 93 diamond to player
  429. if player's tool is enchanted with fortune 94:
  430. give 94 diamond to player
  431. if player's tool is enchanted with fortune 95:
  432. give 95 diamond to player
  433. if player's tool is enchanted with fortune 96:
  434. give 96 diamond to player
  435. if player's tool is enchanted with fortune 97:
  436. give 97 diamond to player
  437. if player's tool is enchanted with fortune 98:
  438. give 98 diamond to player
  439. if player's tool is enchanted with fortune 99:
  440. give 99 diamond to player
  441. if player's tool is enchanted with fortune 100:
  442. give 100 diamond to player
  443. if player's tool is enchanted with fortune 101:
  444. give 101 diamond to player
  445. if player's tool is enchanted with fortune 102:
  446. give 102 diamond to player
  447. if player's tool is enchanted with fortune 103:
  448. give 103 diamond to player
  449. if player's tool is enchanted with fortune 104:
  450. give 104 diamond to player
  451. if player's tool is enchanted with fortune 105:
  452. give 105 diamond to player
  453. if player's tool is enchanted with fortune 106:
  454. give 106 diamond to player
  455. if player's tool is enchanted with fortune 107:
  456. give 107 diamond to player
  457. if player's tool is enchanted with fortune 108:
  458. give 108 diamond to player
  459. if player's tool is enchanted with fortune 109:
  460. give 109 diamond to player
  461. if player's tool is enchanted with fortune 110:
  462. give 110 diamond to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement