Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {door} to block at location at 50, 50, 50 in world "world"
- on explode:
- loop exploded blocks:
- if block is {door}:
- if {%loop-value%.n} is not set:
- set {%loop-value%.n} to 5
- set {_e::%location of loop-value%} to true
- set {_e::%location of loop-value%::*} to location of loop-value
- wait 0.1 second
- loop {_e::*}:
- if {%loop-value%.n} is not equal to 0:
- set {%loop-value%.n} to {%loop-value%.n} - 1
- set block at {_e::%loop-index%::1} to iron door
Advertisement
Add Comment
Please, Sign In to add comment