None of them is working and I have no idea why. No error message!
I tried to replace the "monster" with "spider", but it does not worked :/
I tried to replace the "monster" with "spider", but it does not worked :/
code_language.skript:
on click with dirt:
if target entity is monster:
damage the spider by 3
-------This doesn't work either---
loop all entity in radius 1 around target:
if loop-entity is monster:
damage the loop-entity by 3