Files
speedhorn.sk
Code
1 15
speedhorn.sk
command /speedhorn:
permission: speedhorn.give
permission message: &cNie masz uprawnień do użycia tej komendy.
trigger:
give player 1 goat horn named "&b&lRóg Prędkości" with lore "&7Zarycz i biegnij jak błyskawica!" and "&8Daje &bSzybkość V &8na &f2 sekundy." and "&eKliknij prawym przyciskiem, aby użyć."
send "&aOtrzymujesz &bRóg Prędkości&a!" to player
on right click:
if event-item is goat horn:
if name of event-item is "&b&lRóg Prędkości":
cancel event
apply potion of speed 5 to player for 2 seconds
play sound "item.goat_horn.sound.0" at player
play 18 of cloud at player's eye location
play 30 of crit at player's eye location