on any move: if {LastUpdate::%player%} is set: if difference between {LastUpdate::%player%} and now is more than 5 seconds: clear {LastUpdate::%player%} if {LastUpdate::%player%} is not set: if player's helmet or player's chestplate or player's leggings or player's boots is air: set {_damage} to true loop all blocks in radius 10 around player: if loop-block is fire or lava: set {_damage} to false exit loop if {_damage}: damage player by 3 hearts send "&cZałóż zbroje! Jest ci zimno!"