Why does this script bring up the game over message?

helpwithcode

#1


#2

I don't get what you are asking.


#3

He's saying that when your health is gone it says game over (you died) but its going directly to the game over (you died) message.


#4

Hmm..try adding a Wait block before it checks if it doesn't have any lives. Because all values are zero to start out, it might check before it sets it to five.


#5

thx is worked, but i thought the code it's self would delay it enough... I guess not, but 1 sec does, and how do you get to 0 health from 5 in 1 sec? that should be a small enough delay