options: cooldown-thor: 30 seconds command /thor: trigger: player has permission "admin" give diamond axe named "&fMłot Thora" to player on right click: if player's tool is diamond axe named "&fMłot Thora": if {thor::cooldown::%player%} is set: if difference between {thor::cooldown::%player%} and now is less than {@cooldown-thor}: set {_t} to {thor::%player%::1::cooldown} add {@cooldown-thor} to {_t} set {_d} to difference between {_t} and now send "&aMłot Thora &8» &cMłot odnowi się za %translateTimespan({_d})%&c." to player stop else: send "&aMłot Thora &8» &7Pioruny zostały zesłane na Ziemie!" set {thor::cooldown::%player%} to now strike lightning effect at entity loop all entities in radius 10 around player: Damage loop-entity by (entity's max health / 20) ignite entity for 5 seconds set entity's last damage cause to lightning on combust: if event-entity is mob: cancel event