Advertisement
AdamLam

Untitled

Jan 20th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. on load:
  2. delete {drop.turbo}
  3. set {drop.turbo} to 90
  4. function FunctionDrop(p: player,e: text,c: number,i: item,b: text):
  5. give {_p} 1 oak wood
  6. chance of {_c}%:
  7. give {_p} 1 {_i}
  8. wait 10 ticks
  9. set {_e} to {_b}
  10. command /turbodrop:
  11. trigger:
  12. if player has permission "drop.turbodrop":
  13. execute console command "lp group default permission settemp drop.turbo true 1h accumulate"
  14. on block break:
  15. if player is in world "world":
  16. if block is not oak wood:12 or diamond ore or iron ore or emerald ore:
  17. if player doesn't have permission "drop.*":
  18. cancel event
  19. send "&6>> &cYou cant destroy that here!" to player
  20. on mine of oak wood:12:
  21. if player is in world "world":
  22. if player doesn't have permission "drop.*":
  23. cancel event
  24. FunctionDrop(player,event-block,5,oak wood,oak wood:12)
  25. if player has permission "drop.turbo":
  26. if player doesn't have permission "drop.*":
  27. cancel event
  28. FunctionDrop(player,event-block,{drop.turbo},oak wood,oak wood:12)
  29. on mine of diamond ore:
  30. if player is in world "world":
  31. if player doesn't have permission "drop.*":
  32. wait 10 ticks
  33. set event-block to diamond ore
  34. if player has permission "drop.turbo":
  35. if player doesn't have permission "drop.*":
  36. cancel event
  37. FunctionDrop(player,event-block,{drop.turbo},diamond,diamond ore}
  38. on mine of iron ore:
  39. if player is in world "world":
  40. if player doesn't have permission "drop.*":
  41. wait 10 ticks
  42. set event-block to iron ore
  43. if player has permission "drop.turbo":
  44. if player doesn't have permission "drop.*":
  45. cancel event
  46. FunctionDrop(player,event-block,{drop.turbo},iron, iron ore}
  47. on mine of emerald ore:
  48. if player is in world "world":
  49. if player doesn't have permission "drop.*":
  50. wait 10 ticks
  51. set event-block to emerald ore
  52. if player has permission "drop.turbo":
  53. if player doesn't have permission "drop.*":
  54. cancel event
  55. FunctionDrop(player,event-block,{drop.turbo},emerald,emerald ore}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement