How can I do this?
code_language.skript:
On damage of tool:
if {ata.%player%} is true:
cancel event
On damage of armour:
if {ata.%player%} is true:
cancel event