Advertisement
adaxx11

Untitled

Feb 25th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. def piramidaKonstruktor():
  2. pozycja=positions.add(player.position(), pos(10, 0, 0))
  3.  
  4. x=pozycja.get_value(Axis.X)
  5. y=pozycja.get_value(Axis.Y)
  6. z=pozycja.get_value(Axis.Z)
  7.  
  8. #tworzenie piramidy
  9. blocks.fill(TNT, world(x, y, z), world(x+10, y, z+10))
  10. loops.pause(500)
  11. blocks.fill(TNT, world(x+1, y+1, z+1), world(x+9, y+1, z+9))
  12. loops.pause(500)
  13. blocks.fill(TNT, world(x+2, y+2, z+2), world(x+8, y+2, z+8))
  14. loops.pause(500)
  15. blocks.fill(TNT, world(x+3, y+3, z+3), world(x+7, y+3, z+7))
  16. loops.pause(500)
  17. blocks.fill(TNT, world(x+4, y+4, z+4), world(x+6, y+4, z+6))
  18. loops.pause(500)
  19. blocks.fill(TNT, world(x+5, y+5, z+5), world(x+5, y+5, z+5))
  20.  
  21.  
  22. #odwrócona piramida
  23. blocks.fill(TNT, world(x+5, y+7, z+5), world(x+5, y+7, z+5))
  24. loops.pause(500)
  25. blocks.fill(TNT, world(x+4, y+8, z+4), world(x+6, y+8, z+6))
  26. loops.pause(500)
  27. blocks.fill(TNT, world(x+3, y+9, z+3), world(x+7, y+9, z+7))
  28. loops.pause(500)
  29. blocks.fill(TNT, world(x+2, y+10, z+2), world(x+8, y+10, z+8))
  30. loops.pause(500)
  31. blocks.fill(TNT, world(x+1, y+11, z+1), world(x+9, y+11, z+9))
  32. blocks.fill(TNT, world(x, y+12, z), world(x+10, y+12, z+10))
  33. player.on_chat("piramida",piramidaKonstruktor)
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement