Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine:
- player is sneaking
- player's tool is axe
- event-block is log
- set {loc::%event-location%} to event-location
- loc()
- function loc():
- wait 2 tick
- loop {loc::*}:
- loop blocks in radius 1 around loop-value:
- if loop-block is log:
- break loop-block
- show 10 crit particles at loop-block's location offset by 0.1, 0.1, 0.1 with speed 0.01
- play sound "block.wood.break" with volume 1 and pitch 1 at loop-block's location
- set {loc::%loop-block's location%} to loop-block's location
- loc()
- delete {loc::%loop-value-1%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement