variables: set {cooldown.kox::%player%} to false set {cooldown.totem::%player%} to false on consume of enchanted golden apple: if player hasn't permission "*" or "cooldown.bypass": if {cooldown.kox::%player%} is false: set {cooldown.kox::%player%} to true else: if {cooldown.kox::%player%} is true: cancel event send "&5Jeszcz nie możesz użyć Koxa, spróbuj ponownie później!" to player wait 30 seconds set {cooldown.kox::%player%} to false on resurrect attempt: if player hasn't permission "*" or "cooldown.bypass": if {cooldown.totem::%player%} is false: set {cooldown.totem::%player%} to true uncancel event else: if {cooldown.totem::%player%} is true: cancel event send "&6Cooldown na Totem nie miną, więc najprawdopodobniej umarłeś!" to player wait 30 seconds set {cooldown.totem::%player%} to false