Skocz do zawartości
  • 0

Pilne Skrypt na fly czasowego


Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /item:
	trigger:
		add feather named "&6Fly 5min" to player
		
on right click:
	if name of player's tool is "&6Fly 5min":
		remove 1 of player's tool from player's tool
		if {fly::%player%} is not set:
			add 5 minutes to {fly::%player%}
			while {fly::%player%} > 0 second:
				allow flight to player
				remove 2 second from {fly::%player%}
				wait 2 second
			clear {fly::%player%}
			disable flight to player
		else:
			allow flight to player
			add 5 minutes to {fly::%player%}

 

Odnośnik do komentarza
https://skript.pl/temat/36557-pilne-skrypt-na-fly-czasowego/#findComment-233943
Udostępnij na innych stronach

  • 0
23 godziny temu, xAxee napisał:

command /item:
	trigger:
		add feather named "&6Fly 5min" to player
		
on right click:
	if name of player's tool is "&6Fly 5min":
		remove 1 of player's tool from player's tool
		if {fly::%player%} is not set:
			add 5 minutes to {fly::%player%}
			while {fly::%player%} > 0 second:
				allow flight to player
				remove 2 second from {fly::%player%}
				wait 2 second
			clear {fly::%player%}
			disable flight to player
		else:
			allow flight to player
			add 5 minutes to {fly::%player%}

 

a da rade by graacz wpisał sb np. /timefly i wtedy zabierało mu z tej puli czasu czy nie?

Odnośnik do komentarza
https://skript.pl/temat/36557-pilne-skrypt-na-fly-czasowego/#findComment-234019
Udostępnij na innych stronach

  • 0
command /item:
	trigger:
		add feather named "&6Fly 5min" to player
		
command /timefly [<text>]:
	trigger:
		while {fly::%player%} > 0 second:
			allow flight to player
			remove 2 second from {fly::%player%}
			wait 2 second
		clear {fly::%player%}
		disable flight to player
on right click:
	if name of player's tool is "&6Fly 5min":
		remove 1 of player's tool from player's tool
		add 5 minutes to {fly::%player%}
		send "Poprawnie doladowano czasowy fly! wpisz /timefly"

(<3 + najlepsza odp)

Edytowane przez xAxee
Odnośnik do komentarza
https://skript.pl/temat/36557-pilne-skrypt-na-fly-czasowego/#findComment-234022
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ę...