Im trying to make an minecraft map and i really need to check for an scoreboard, like, if your score is below a certain amount, it runs a certain command, but the less than(<) symbol doesn't seem to work. How should i do this? also, it should be in 1.16 please.
My command is:
/execute if score (player name) mana < 200 mana run setblock 6582 74 -266 minecraft:air
I'm making a mana system where I have a hopper clock adding 1 mana per second, when a certain player reaches 200 mana, a command spawns a redstone block to stop the hopper clock, it's all working fine, but the command to remove that block when there is less than 200 mana(to generate more via the hopper clock) doesn't seem to work.