First of all I wanna say thanks to ddabrahim and wendigo for their input. I’m sharing the code because I’m sure somebody will find it useful some or other time . I created a simple health bar with 9 animations .
Animation 0 = Full power and animation 8 = Dead.
The healthbar in code is called “Enemyhealth” and the enemies are Slimewalk.
Gdevelop rocks !