Skocz do zawartości
  • 0

kusza


sworip

Pytanie

Witam chciał bym zrobić kusze z "cooldownem" jednak nwm jak to zrobić bo skrypt który jest teraz niezbyt działa :/ Żeby nie było skrypt został pobrany ale cooldown nie działa :/

  kod

on right click using iron horse armor:
    if player has arrow:
        set {czas} to difference between {opoznieniesnow.%player%} and now
        if {czas} is less than 3 seconds:
            set name of the player's tool to "&8Przeladowywanie..."
            execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
            stop
        else:
            shoot arrow with speed 5
            damage targeted entity by 10 hearts
            remove 1 arrow from the player            
            execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 10"            
            stop

Odnośnik do komentarza
https://skript.pl/temat/17455-kusza/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on join:
	set {opoznieniesnow.%player%} to true
on right click using iron horse armor:
	if player has arrow:
		if {opoznieniesnow.%player%} is false:
			set name of the player's tool to "&8Przeladowywanie..."
			execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
			stop
		else:
			shoot arrow with speed 5
			damage targeted entity by 10 hearts
			remove 1 arrow from the player            
			execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 10"
			set {opoznieniesnow.%player%} to false
			wait 3 second
			set {opoznieniesnow.%player%} to true
			stop 

prosze :)

Odnośnik do komentarza
https://skript.pl/temat/17455-kusza/#findComment-119517
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ę...