So I was wondering how I could make the name of the spawned mob to display it's "current health/max health" I figure out how to do the max health, but not the current health of the mob. Here's what I got so far:
on spawn of cow:
set health of event-entity to 10
set max health of event-entity to 10
set event-entity's name to "&cCow &8[&c%event-entity's health &8/ &c%event-entity's max health%&8]"
on spawn of cow:
set health of event-entity to 10
set max health of event-entity to 10
set event-entity's name to "&cCow &8[&c%event-entity's health &8/ &c%event-entity's max health%&8]"