I do think i have found a bug where the first time you die it does not subtract in from the life UI so you get a game over when the life UI says you still have 1 life.
Thanks for the feedback. Yeah, I noticed that bug, but the thing is it works fine in Unity but when I build the game that happens. I didn't really know how to fix it and didn't have enough time to figure it out...