variables: {kon.przywolany.%player%} = false command /Kon: permission: kon.get permission message: &cNie mozesz brac konia bez pozwolenia! trigger: give a iron horse armor named "&6Przywołaj Konia" to the player on rightclick: player is holding iron horse armor named "&6Przywołaj Konia": if {kon::cooldown::%player%} is set: if difference between {kon::cooldown::%player%} and now is less than 10 seconds: send " &8» &7Konia możesz przywoływać co &c10 sekund&7." to player stop set {kon::cooldown::%player%} to now if {kon.przywolany.%player%} = false: spawn 1 horse at location of player make player ride spawned horse tame last spawned horse to player equip spawned horse with saddle set {kon.przywolany.%player%} to true on vehicle exit: loop horses in radius 2 around player: name of loop-horse is "%player%": kill loop-horse stop on death of horse: if victim's name contains "%player%": clear drops