on damage of player:
if victim is player:
if attacker is player:
set {ench.%attacker%} to 5
loop 122 times:
add 1 to {ench.%attacker%}
if tool of the attacker is enchanted with sharpness {ench.%attacker%}:
cancel event
send "&cNie mozesz go uderzyc tym enchantem!" to attacker
Pytanie
gnomsy 53
on damage of player:
if victim is player:
if attacker is player:
set {ench.%attacker%} to 5
loop 122 times:
add 1 to {ench.%attacker%}
if tool of the attacker is enchanted with sharpness {ench.%attacker%}:
cancel event
send "&cNie mozesz go uderzyc tym enchantem!" to attacker
https://imgur.com/a/6Osyg
Jak w tytule
Odnośnik do komentarza
https://skript.pl/temat/22267-1-b%C5%82%C4%85d/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi