code_language.skript:
on spawn of cow:
wait 1 tick
set {_entity} to event-entity
set {_entity}'s name to "&cCow &8[&r&4&l❤&r&8:&c %{_entity}'s health*2%&8]"
on damage:
if victim is a cow:
wait 1 tick
set {_entity}'s name to "&cCow &8[&r&4&l❤&r&8:&c %{_entity}'s health*2%&8]"
Posted by: _aaaaaaaaaaaaaaaaaaaaaaaaaaaa_ from the skUnity Discord. View the thread on skUnity Discord here