variables: {rtp::cooldown::%player%} = 0 on right click on sign: if 2nd line of clicked block is "&3&lRTP": #Zmień wartość pomiędzy "" aby zmienić wiadomość która musi być na tabliczce if {rtp::cooldown::%event-player%} is not 0: set {_acctualy} to unix timestamp of now set {_playerTime} to {rtp::cooldown::%event-player%} set {_results} to {_playerTime} - {_acctualy} if {_results} is more than -9: #Aby zmienić cooldown zamień 9 na twój cooldown - 1 (!NIE ZALECA SIĘ SCHODZENIE PONIŻEJ 10) set {_rounded} to rounded down {_results} send "&cNastępny raz rtp będziesz mógł użyć za: %{_rounded} + 10% &csekund/y!" #Aby zmienić cooldown zamień 10 na twój cooldown(!NIE ZALECA SIĘ SCHODZENIE PONIŻEJ 10) stop else: set {rtp::cooldown::%event-player%} to unix timestamp of now else: set {rtp::cooldown::%event-player%} to unix timestamp of now make console execute command "rtp %event-player%" command /rtp : usage: &c/rtp gracz permission: skstaff permission message: &cBrak uprawnień! trigger: set {p} to arg-1 send "&6Losowanie koordynatów..." to {p} wait 1 second set {location} to location(random number from -1500 to 1500, 150, random number from -1500 to 1500, world("world")) while biome at {location} is ocean or deep ocean or frozen ocean or deep cold ocean or cold ocean or lukewarm ocean or beach or river: send "&6Na wygenerowanych koordynatach znajduje się ocean! Generuje koordynaty jeszcze raz..." to {p} wait 1 second set {location} to location(random number from -1500 to 1500, 150, random number from -1500 to 1500, world("world")) set {y} to 150 while block at {location} is air or any leaves: remove 1 from {y} set y-coordinate of {location} to {y} set y-coordinate of {location} to {y} + 1 send "&6Wylosowane koordynaty to: &a%{location}%" to {p} teleport {p} to {location}