Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine of oak log:12:
- if player's game mode is survival:
- if player is holding axe:
- cancel event
- tool of the player isn't enchanted with unbreaking:
- damage tool by 1
- tool of the player is enchanted with unbreaking 1:
- chance of 50%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 2:
- chance of 33%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 3:
- chance of 25%:
- damage tool by 1
- give 1 oak log to the player
- set block to air
- add "%location of block%" to {woodrespawning12::*}
- wait 120 seconds
- set block to oak log:12
- remove "%location of block%" from {woodrespawning12::*}
- else if player isn't holding an axe:
- cancel event
- chance of 5%:
- message "&cyou need an &7Axe &cto break this!"
- on mine of oak log:8:
- if player's game mode is survival:
- if player is holding axe:
- cancel event
- tool of the player isn't enchanted with unbreaking:
- damage tool by 1
- tool of the player is enchanted with unbreaking 1:
- chance of 50%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 2:
- chance of 33%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 3:
- chance of 25%:
- damage tool by 1
- give 1 oak log to the player
- set block to air
- add "%location of block%" to {woodrespawning8::*}
- wait 120 seconds
- set block to oak log:8
- remove "%location of block%" from {woodrespawning8::*}
- else if player isn't holding an axe:
- cancel event
- chance of 5%:
- message "&cyou need an &7Axe &cto break this!"
- on mine of oak log:4:
- if player's game mode is survival:
- if player is holding axe:
- cancel event
- tool of the player isn't enchanted with unbreaking:
- damage tool by 1
- tool of the player is enchanted with unbreaking 1:
- chance of 50%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 2:
- chance of 33%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 3:
- chance of 25%:
- damage tool by 1
- give 1 oak log to the player
- set block to air
- add "%location of block%" to {woodrespawning4::*}
- wait 120 seconds
- set block to oak log:4
- remove "%location of block%" from {woodrespawning4::*}
- else if player isn't holding an axe:
- cancel event
- chance of 5%:
- message "&cyou need an &7Axe &cto break this!"
- on mine of oak log:0:
- if player's game mode is survival:
- if player is holding axe:
- cancel event
- tool of the player isn't enchanted with unbreaking:
- damage tool by 1
- tool of the player is enchanted with unbreaking 1:
- chance of 50%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 2:
- chance of 33%:
- damage tool by 1
- tool of the player is enchanted with unbreaking 3:
- chance of 25%:
- damage tool by 1
- give 1 oak log to the player
- set block to air
- add "%location of block%" to {woodrespawning0::*}
- wait 120 seconds
- set block to oak log
- remove "%location of block%" from {woodrespawning0::*}
- else if player isn't holding an axe:
- cancel event
- chance of 5%:
- message "&cyou need an &7Axe &cto break this!"
- on skript load:
- loop {woodrespawning0::*}:
- set block at loop-value to oak log:0
- remove loop-value from {woodrespawning0::*}
- loop {woodrespawning4::*}:
- set block at loop-value to oak log:4
- remove loop-value from {woodrespawning4::*}
- loop {woodrespawning8::*}:
- set block at loop-value to oak log:8
- remove loop-value from {woodrespawning8::*}
- loop {woodrespawning12::*}:
- set block at loop-value to oak log:12
- remove loop-value from {woodrespawning12::*}
Advertisement
Add Comment
Please, Sign In to add comment