Skocz do zawartości
  • 0

Losowy TP


Hvgdc

Pytanie

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Proszę liczę na (+)

#Ustaw sobie tu co chcesz
options:
	przycisk: stone button
	itempod: sponge
	nazwaswiata: surowcowa
	wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
	maxkordy: 1000
	minkordy: -1000
				
on right click on {@przycisk}:
	block behind is {@sponge}:
		set {_x} to random integer from {@minkordy} to {@maxkordy}
		set {_z} to random integer from {@minkordy} to {@maxkordy}
		set {_xyz} to the location at {_x}, 256, {_z}
		teleport player to {_xyz}
		loop 300 times:
			if block under player is air:
				teleport player under player
			else:
				send "%{@wiadomosc}%"
				stop			

 

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113657
Udostępnij na innych stronach

  • 0

Naprawiłem jeden błąd łap

 

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113659
Udostępnij na innych stronach

  • 0
56 minut temu, mkmess91 napisał:

Naprawiłem jeden błąd łap

 

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

Thx sprawdzam czy działa

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113673
Udostępnij na innych stronach

  • 0
Godzinę temu, mkmess91 napisał:

Naprawiłem jeden błąd łap

 

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

Wszystko działa a da rade ustawić aby gracze nie pojawiali się w wodzie?

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113681
Udostępnij na innych stronach

  • 0

da rade łap

licze na + jeżeli chcesz jeszcze jakieś skrypty to pw ...

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

 

on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_p} to location of player
        wait 3 tick
        if block under is water:
            teleport player to {_p}
            stop

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113699
Udostępnij na innych stronach

  • 0
1 minutę temu, mkmess91 napisał:

da rade łap

licze na + jeżeli chcesz jeszcze jakieś skrypty to pw ...

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

 

on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_p} to location of player
        wait 3 tick
        if block under is water:
            teleport player to {_p}
            stop

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

 

on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_p} to location of player
        wait 3 tick
        if block under is water:
            teleport player to {_p}
            stop

To wkleić?

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113701
Udostępnij na innych stronach

  • 0
4 minuty temu, mkmess91 napisał:

obydwa

Wkleiłem to

#Ustaw sobie tu co chcesz
options:
    przycisk: stone button
    itempod: sponge
    wiadomosc: &cZostales przeteleportowany w swiat &6%location of player%
    maxkordy: 1000
    minkordy: -1000
                
on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_x} to random integer from {@minkordy} to {@maxkordy}
        set {_z} to random integer from {@minkordy} to {@maxkordy}
        set {_xyz} to the location at {_x}, 256, {_z}
        teleport player to {_xyz}
        loop 300 times:
            if block under player is air:
                teleport player under player
            else:
                send "%{@wiadomosc}%"
                stop                

 

on right click on {@przycisk}:
    block behind is {@itempod}:
        set {_p} to location of player
        wait 3 tick
        if block under is water:
            teleport player to {_p}
            stop

 

 

I nie działa :/

Odnośnik do komentarza
https://skript.pl/temat/16641-losowy-tp/#findComment-113706
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...