haslofirmy 0 Opublikowano 21 lutego 2023 Udostępnij Opublikowano 21 lutego 2023 (edytowane) Zrobi ktoś skrypt na /spawn? Po wpisaniu /spawn czeka 5 sekund i nie możesz się ruszać (to znaczy jest możliwość ale jak się ruszysz to anuluje teleportacje) i potem cię teleportuje na x0y0z0 Edytowane 21 lutego 2023 przez haslofirmy Cytuj Odnośnik do komentarza https://skript.pl/temat/54456-spawn/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 pruslay 14 Opublikowano 21 lutego 2023 Udostępnij Opublikowano 21 lutego 2023 (edytowane) options: sekundy = 5 command /setspawn: permission: skript.setspawn permission message: &4Nie masz uprawnien trigger: set {spawn} to location of player send "&aPoprawnie ustawiono spawn" command /spawn: trigger: if {spawn} is set: set {_x} to x coordinate of player set {_y} to y coordinate of player set {_t} to 10 loop {@sekundy} times: wait 1 seconds remove 1 from {_n} if "%{_x}%" is not equal to "%x coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" else if "%{_y}%" is not equal to "%y coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" stop else: send "&7Teleportacja nastapi za &8[&e%{_t}%&8] &7sekund" teleport player to {spawn} send "&aZostales przeteleportowany na spawn!" Edytowane 21 lutego 2023 przez pruslay Cytuj Odnośnik do komentarza https://skript.pl/temat/54456-spawn/#findComment-330359 Udostępnij na innych stronach Więcej opcji udostępniania...
0 haslofirmy 0 Opublikowano 22 lutego 2023 Autor Udostępnij Opublikowano 22 lutego 2023 (edytowane) 19 godzin temu, pruslay napisał: options: sekundy = 5 command /setspawn: permission: skript.setspawn permission message: &4Nie masz uprawnien trigger: set {spawn} to location of player send "&aPoprawnie ustawiono spawn" command /spawn: trigger: if {spawn} is set: set {_x} to x coordinate of player set {_y} to y coordinate of player set {_t} to 10 loop {@sekundy} times: wait 1 seconds remove 1 from {_n} if "%{_x}%" is not equal to "%x coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" else if "%{_y}%" is not equal to "%y coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" stop else: send "&7Teleportacja nastapi za &8[&e%{_t}%&8] &7sekund" teleport player to {spawn} send "&aZostales przeteleportowany na spawn!" dzk ale ma tepać na 0, 0, 0 a nie gdzie ustawie (napraw i dam to jako odpowiedź) Edytowane 22 lutego 2023 przez haslofirmy Cytuj Odnośnik do komentarza https://skript.pl/temat/54456-spawn/#findComment-330382 Udostępnij na innych stronach Więcej opcji udostępniania...
1 pruslay 14 Opublikowano 22 lutego 2023 Udostępnij Opublikowano 22 lutego 2023 (edytowane) 20 minut temu, haslofirmy napisał: dzk ale ma tepać na 0, 0, 0 a nie gdzie ustawie (napraw i dam to jako odpowiedź) options: sekundy = 5 command /spawn: trigger: set {_x} to x coordinate of player set {_y} to y coordinate of player set {_t} to 10 loop {@sekundy} times: wait 1 seconds remove 1 from {_n} if "%{_x}%" is not equal to "%x coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" else if "%{_y}%" is not equal to "%y coordinate of player%": stop loop send "&cPrzerwano teleportacje, poniewaz sie ruszyles!" stop else: send "&7Teleportacja nastapi za &8[&e%{_t}%&8] &7sekund" teleport player to 0, 0, 0 send "&aZostales przeteleportowany na spawn!" Edytowane 22 lutego 2023 przez pruslay Cytuj Odnośnik do komentarza https://skript.pl/temat/54456-spawn/#findComment-330383 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
haslofirmy 0
Zrobi ktoś skrypt na /spawn?
Edytowane przez haslofirmyPo wpisaniu /spawn czeka 5 sekund i nie możesz się ruszać (to znaczy jest możliwość ale jak się ruszysz to anuluje teleportacje) i potem cię teleportuje na x0y0z0
Odnośnik do komentarza
https://skript.pl/temat/54456-spawn/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.