How do I run a summon command based on the amount of HP the main mob has?
Solution 1:
Check the following:
Are the command blocks being activated? The command block for the first command should be Repeating.
Is the zombie selected in the second command the same zombie that was selected in the first?
Make sure the Health
scoreboard is a dummy
scoreboard (/scoreboard objectives add Health dummy
).