Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- world: world
- x-max: 100
- x-min: -100
- z-max: 100
- z-min: -100
- on rightclick on button:
- if block behind target block is sponge:
- set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
- while block under {_loc} is air or lava:
- remove 1 from y-coords of {_loc} block under {_loc} is lava:
- set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
- loop players in radius 5 around block behind block:
- teleport loop-player to {_loc} teleport player to {_loc}
Advertisement
Add Comment
Please, Sign In to add comment