How do i do this?

I know how to make a Health system using letters like
Health: 100

I was wondering how would i do this but like its a red potion and when you get hit it drains it?