how do i give a enemy lives? (FIXED)

i want a enemy to have for example 3 lives and if i hit it 1 time nothing happens but when i hit it the 3rd time it dies… how do i do that?

use the health game example but take out the bar

oh ok lol thx

filter, number,

I’ve figured this out a long time ago…