Advertisement
Guest User

Untitled

a guest
Aug 31st, 2019
1,392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. command /start:
  2. trigger:
  3. set {_loc} to location at (0, 90, 0) in world "game"
  4. set {_loc2} to location at (16, 104, 16) in world "game"
  5. set {_x} to random number between 0 and 500
  6. set {_z} to {_x}
  7. set {_x2} to {_x} + 15
  8. set {_z2} to {_z} + 15
  9. set {_b1} to location at ({_x}, 63, {_z}) in world "Lobby"
  10. set {_b2} to location at ({_x2}, 49, {_z2}) in world "Lobby"
  11. set {_y} to 0
  12. loop blocks within {_b1} and {_b2}:
  13. add loop-block to {_t::*}
  14. add 1 to {_y}
  15. message "%{_y}%"
  16. message "espera"
  17. wait 3 second
  18. message "procediendo"
  19. set {_temp} to 1
  20. loop blocks within {_loc} and {_loc2}:
  21. set block at location of loop-block to {_t::%{_temp}%}
  22. add 1 to {_temp}
  23. wait 1 tick
  24. #Other
  25. set {_loc} to location at (0, 105, 15) in world "game"
  26. set {_loc2} to location at (15, 105, 0) in world "game"
  27. loop blocks within {_loc} and {_loc2}:
  28. set block at location of loop-block to grass
  29. set {_loc} to location at (0, 89, 15) in world "game"
  30. set {_loc2} to location at (15, 89, 0) in world "game"
  31. loop blocks within {_loc} and {_loc2}:
  32. set block at location of loop-block to bedrock
  33. set {_loc} to location at (0, 150, 15) in world "game"
  34. set {_loc2} to location at (15, 89, 15) in world "game"
  35. loop blocks within {_loc} and {_loc2}:
  36. set block at location of loop-block to barrier block
  37. set {_loc} to location at (16, 89, 16) in world "game"
  38. set {_loc2} to location at (16, 150, 0) in world "game"
  39. loop blocks within {_loc} and {_loc2}:
  40. set block at location of loop-block to barrier block
  41. set {_loc} to location at (16, 150, 0) in world "game"
  42. set {_loc2} to location at (0, 89, 0) in world "game"
  43. loop blocks within {_loc} and {_loc2}:
  44. set block at location of loop-block to barrier block
  45. set {_loc} to location at (0, 89, 0) in world "game"
  46. set {_loc2} to location at (0, 150, 16) in world "game"
  47. loop blocks within {_loc} and {_loc2}:
  48. set block at location of loop-block to barrier block
  49. set {_loc} to location at (0, 150, 16) in world "game"
  50. set {_loc2} to location at (16, 150, 0) in world "game"
  51. loop blocks within {_loc} and {_loc2}:
  52. set block at location of loop-block to barrier block
  53. delete {_t::*}
  54. delete {_temp}
  55. message "listo"
  56. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement