options: # Od ktorego poziomu ma dzialac TP poziom: 40 # Ile kratek wyzej ma teleportowac kratki: 65 # Czy po teleportacji ma tworzyc sie blok pod graczem? block-setting: yes # yes or no # Blok , ktory bedzie sie tworzyl pod graczem. block: glass on load: register new shapeless crafting for wood named "&6&lTP" using wood, wood, wood, wood, obsidian, wood, wood, wood, wood stop on right click: if tool of player is wood named "&6&lTP": set {_y} to y-location of player if {_y} < {@poziom}: add {@kratki} to {_y} set {_loc} to "%x-location of player% %{_y}% %z-location of player%" if "{@block-setting}" is "yes": set block under {_loc} to {@block} teleport player to {_loc} stop else: send "&cMusisz byc ponizej {@poziom} poziomu" stop