So if you want to make your player invisible when your live = 0, you can add it in action when your live = 0, set player invisible.
Btw, you can shorten your events when set animation frame for your healthbar by doing this: Set animation frame to lives
And move it up to the function.