Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- delete {drop.turbo}
- set {drop.turbo} to 90
- function FunctionDrop(p: player,e: text,c: number,i: item,b: text):
- give {_p} 1 oak wood
- chance of {_c}%:
- give {_p} 1 {_i}
- wait 10 ticks
- set {_e} to {_b}
- command /turbodrop:
- trigger:
- if player has permission "drop.turbodrop":
- execute console command "lp group default permission settemp drop.turbo true 1h accumulate"
- on block break:
- if player is in world "world":
- if block is not oak wood:12 or diamond ore or iron ore or emerald ore:
- if player doesn't have permission "drop.*":
- cancel event
- send "&6>> &cYou cant destroy that here!" to player
- on mine of oak wood:12:
- if player is in world "world":
- if player doesn't have permission "drop.*":
- cancel event
- FunctionDrop(player,event-block,5,oak wood,oak wood:12)
- if player has permission "drop.turbo":
- if player doesn't have permission "drop.*":
- cancel event
- FunctionDrop(player,event-block,{drop.turbo},oak wood,oak wood:12)
- on mine of diamond ore:
- if player is in world "world":
- if player doesn't have permission "drop.*":
- wait 10 ticks
- set event-block to diamond ore
- if player has permission "drop.turbo":
- if player doesn't have permission "drop.*":
- cancel event
- FunctionDrop(player,event-block,{drop.turbo},diamond,diamond ore}
- on mine of iron ore:
- if player is in world "world":
- if player doesn't have permission "drop.*":
- wait 10 ticks
- set event-block to iron ore
- if player has permission "drop.turbo":
- if player doesn't have permission "drop.*":
- cancel event
- FunctionDrop(player,event-block,{drop.turbo},iron, iron ore}
- on mine of emerald ore:
- if player is in world "world":
- if player doesn't have permission "drop.*":
- wait 10 ticks
- set event-block to emerald ore
- if player has permission "drop.turbo":
- if player doesn't have permission "drop.*":
- cancel event
- FunctionDrop(player,event-block,{drop.turbo},emerald,emerald ore}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement