suppose you made a playertype that mounted to all players when they spawned, and disappeared when they died, that had a model that was just one long z-billboard made up of like 10 nodes
whenever the player's health lowered, the playertype mounted to it would check how much health it had left, then hide the appropriate amount of nodes (and recolor the rest of the remaining nodes)