Lately, I've been trying to create a custom boss in minecraft.
I want it so when its health is less than x, or when it has lost a quarter of its health, something happens.
However, when I used this:
It didn't work. Should I create a scoreboard for this or something?