Guest User

Untitled

a guest
Jun 21st, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. on script load:
  2. if folder "plugins/Drop" doesn't exists:
  3. create folder "plugins/Drop"
  4. if file "plugins/Drop/config.yml" doesn't exists:
  5. create file "plugins/Drop/config.yml"
  6. if file "plugins/Drop/messages.yml" doesn't exists:
  7. create file "plugins/Drop/messages.yml"
  8. set "diament" to "Diament wylecial" in yaml file "plugins/Drop/messages.yml"
  9. set "emerald" to "Emerald wylecial" in yaml file "plugins/Drop/messages.yml"
  10. set "zelazo" to "Zelazo wylecialo" in yaml file "plugins/Drop/messages.yml"
  11. wait 2 tick
  12. set {diament} to colored single value "diament" get of "plugins/Drop/messages.yml"
  13. set {emerald} to colored single value "emerald" get of "plugins/Drop/messages.yml"
  14. set {zelazo} to colored single value "zelazo" get of "plugins/Drop/messages.yml"
  15. on mine of stone:
  16. chance of 70%:
  17. give 1 diamond to the player
  18. send "%{diament}%" to player
  19. chance of 50%:
  20. give 1 emerald to the player
  21. send "%{emerald}%" to player
  22. chance of 30%:
  23. give 1 iron ingot to the player
  24. send "%{zelazo}%" to player
Advertisement
Add Comment
Please, Sign In to add comment