Originally I had this as a request help post but did some looking around and figured out it isn't that hard at all, wanted to display different settings between targeting a NPC and a Player, this is what I use for my targets MP and HP now.
[if IsPlayer then
[HP:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
else
[PercentHP:Percent:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
end]