on rightclick holding a gray dye:
if tool's name is "&2Dayaniklilik Ilaci":
remove 1 gray dye named "&2Dayaniklilik Ilaci" from player
send "&4&lKing&f&lMC &8> &aDirenc &7Ozelligini Aktif Ettin!" to player
apply resistance 2 to player for 1 minute
on rightclick holding a light blue dye:
if tool's name is "&eHiz Ilaci":
remove 1 light blue dye named "&eHiz Ilaci" from player
send "&4&lKing&f&lMC &8> &aHiz &7Ozelligini Aktif Ettin!" to player
apply speed 2 to player for 1 minute
on rightclick holding a red dye:
if tool's name is "&bGuc Ilaci":
remove 1 red dye named "&bGuc Ilaci" from player
send "&4&lKing&f&lMC &8> &aGuc &7Ozelligini Aktif Ettin!" to player
apply strength 2 to player for 1 minute
on rightclick holding a magenta dye:
if tool's name is "&4Can Ilaci":
remove 1 magenta dye named "&4Can Ilaci" from player
send "&4&lKing&f&lMC &8> &aCan &7Ozelligini Aktif Ettin!" to player
heal the player
command /ilacver:
permission: ilac.al
permission message: &8> &7Bu Komutu Kullanmaya Yetkin Yok!
trigger:
give 64 gray dye named "&2Dayaniklilik Ilaci" to player
give 64 light blue dye named "&eHiz Ilaci" to player
give 64 red dye named "&bGuc Ilaci" to player
give 64 magenta dye named "&4Can Ilaci" to player