On rightclick:
if player is holding stick named "&bWyssanie Życia":
if player has permission "czlowiek.1":
if difference between {Czlowiek1::%player%::lastuse} and now is smaller than 35 seconds:
send "&c%difference between {Czlowiek1::%player%::lastuse} and now% sekund do odnowienia!"
stop
set {Czlowiek1::%player%::lastuse} to now
send "&aUżyłeś umiejetnosci!"
spawn 2000 of particle Magic Crit:1 offset by 0, 5, 0 at player
loop all entities within 5 meters of the player:
damage loop-entity by 3 heart
stop
Pytanie
Szwagru 23
Witam, jak zrobić Cooldown(czas odnowienia).
Narazie posiadam:
On rightclick: if player is holding stick named "&bWyssanie Życia": if player has permission "czlowiek.1": if difference between {Czlowiek1::%player%::lastuse} and now is smaller than 35 seconds: send "&c%difference between {Czlowiek1::%player%::lastuse} and now% sekund do odnowienia!" stop set {Czlowiek1::%player%::lastuse} to now send "&aUżyłeś umiejetnosci!" spawn 2000 of particle Magic Crit:1 offset by 0, 5, 0 at player loop all entities within 5 meters of the player: damage loop-entity by 3 heart stopOdnośnik do komentarza
https://skript.pl/temat/14862-jak-zrobi%C4%87-cooldown/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi