Guest User

Untitled

a guest
Jul 28th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. options:
  2. world: world
  3. x-max: 100
  4. x-min: -100
  5. z-max: 100
  6. z-min: -100
  7. on rightclick on button:
  8. if block behind target block is sponge:
  9. set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
  10. while block under {_loc} is air or lava:
  11. remove 1 from y-coords of {_loc} block under {_loc} is lava:
  12. set {_loc} to location at random integer between {@x-min} and {@x-max}, 256, random integer between {@z-min} and {@z-max} in "{@world}"
  13. loop players in radius 5 around block behind block:
  14. teleport loop-player to {_loc} teleport player to {_loc}
Advertisement
Add Comment
Please, Sign In to add comment