Advertisement
gandalfbialy

Untitled

Jun 10th, 2025
864
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.90 KB | None | 0 0
  1. player.execute("/gamerule spawnRadius 0")
  2.  
  3. etap1 = False
  4. etap2 = False
  5. etap3 = False
  6. etap4 = False
  7.  
  8. def zbudujParkour():
  9.     player.execute("setworldspawn " + player.position())
  10.  
  11.     builder.teleport_to(pos(5, 0, 0))
  12.     builder.face(EAST)
  13.     builder.mark()
  14.     builder.shift(70, 70, 0)
  15.     builder.line(PURPUR_STAIRS)
  16.  
  17.     builder.mark()
  18.     builder.shift(2, 0, -4)
  19.     builder.fill(DIAMOND_BLOCK)
  20.  
  21. player.on_chat("start", zbudujParkour)
  22.  
  23. while True:
  24.     if blocks.test_for_block(DIAMOND_BLOCK, pos(0, -1, 0)) and not etap1:
  25.         player.execute("setworldspawn " + player.position())
  26.         etap1 = True
  27.  
  28. def etap_1_lub_2(blok_toru, block_checkpointa):
  29.     for i in range(randint(10, 15)):
  30.         przod = randint(2, 3)
  31.         bok = randint(-1, 1)
  32.         wysokosc = randint(-1, 1)
  33.         dlugosc = randint(0, 3)
  34.  
  35.         builder.shift(przod, wysokosc, bok)
  36.         builder.mark()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement