Health bar issue

Hi guys a simple question Im having issues with my health bar it works perfectly when I play and it on the computer

But when I export it to gd.games the health bar losses it’s values then the character dies and then game over layer shows up, I don’t understand why this would be happening if everything is ok before exporting it :face_exhaling: