ItzOPOfficial

Untitled

Dec 21st, 2017
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. on rightclick on dispenser:
  2. cancel event
  3. if player's tool isn't glowstone dust named "&6Gold Dust":
  4. if player's tool isn't sugar named "&fSilver Dust":
  5. if player's tool isn't 351:1 named "&cCopper Dust":
  6. if player's tool isn't gunpowder named "&7Iron Dust":
  7. message "&7&lEcho &8➤ &7You must be holding dust to use this!"
  8. if player's tool is gunpowder named "&7Iron Dust":
  9. if player contains 8 gunpowder named "&7Iron Dust":
  10. remove 8 gunpowder named "&7Iron Dust" from player
  11. give 8 iron ingot named "&7Iron Ingot" to player
  12. message "&7&lEcho &8➤ &7You've smelted Iron Dust!"
  13. else if player doesn't contain 8 gunpowder named "&7Iron Dust":
  14. message "&7&lEcho &8➤ &7You need atleast 8 of those to smelt them!"
  15. if player's tool is glowstone dust named "&6Gold Dust":
  16. if player contains 8 glowstone dust named "&6Gold Dust":
  17. remove 8 glowstone dust named "&6Gold Dust" from player
  18. give 8 gold ingots named "&6Gold Ingot" to player
  19. message "&7&lEcho &8➤ &7You've smelted &6Gold Dust&7!"
  20. else if player doesn't contain 8 glowstone dust named "&6Gold Dust":
  21. message "&7&lEcho &8➤ &7You need atleast 8 of those to smelt them!"
  22. if player's tool is sugar named "&fSilver Dust":
  23. if player contains 8 sugar named "&fSilver Dust":
  24. remove 8 sugar named "&fSilver Dust" from player
  25. give 8 148 named "&fSilver Ingot" to player
  26. message "&7&lEcho &8➤ &7You've smelted &fSilver Dust&7!"
  27. else if player doesn't contain 8 sugar named "&fSilver Dust":
  28. message "&7&lEcho &8➤ &7You need atleast 8 of those to smelt them!"
  29. if player's tool is 351:1 named "&cCopper Dust":
  30. if player contains 8 351:1 named "&cCopper Dust":
  31. remove 8 351:1 named "&cCopper Dust" from player
  32. give 8 brick named "&cCopper Ingot" to player
  33. message "&7&lEcho &8➤ &7You've smelted &cCopper Dust&7!"
  34. else if player doesn't contain 8 351:1 named "&cCopper Dust":
  35. message "&7&lEcho &8➤ &7You need atleast 8 of those to smelt them!"
  36.  
  37. on break of stone:
  38. chance of 35%:
  39. drop a gunpowder named "&7Iron Dust"
  40. chance of 6%:
  41. drop a glowstone dust named "&6Gold Dust"
  42. Chance of 25%:
  43. drop a 351:1 named "&cCopper Dust"
  44. chance of 10%:
  45. drop a sugar named "&fSilver Dust"
Advertisement
Add Comment
Please, Sign In to add comment