Mam problem ponieważ zrobiłem skrypt która ma dawać slowness mobą które uderzę lecz kiedy nadaje na ten przedmiot enchanty to efekt przestaje dzialac jak to naprawic?
on damage:
if attacker is a player:
if attacker's tool is diamond sword named "&3Mrozny Miecz" with lore "Miecz daje slowness 1 mobowi na 5 sekund":
apply potion of slowness of tier 10 to victim for 5 seconds