Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every tick:
- loop all players within 128 meters of location(-16.5, 43.5, 360.5): #server view distance
- if {route1.%loop-player's uuid%} is not set: #event to unlock
- set {_i} to -19.5
- loop 7 times:
- make loop-player see block at location({_i}, 43.5, 360.5) as stone
- add 1 to {_i}
- on right click:
- if event-block is air:
- set {route1.%player's uuid%} to true #condition fullfilled
- play sound "entity.zombie.break_wooden_door" with volume 2 at event-block for player
- on quit:
- if {route1.%player's uuid%}: #to retest
- delete {route1.%player's uuid%}
Advertisement
Add Comment
Please, Sign In to add comment