To Plinkie:
How the variables and the text objects are supposed to work:
Let's say that the "SpaceshipStrengh" variable equal to 10 and the "PlayersLives" variable equal to 3. Each time that the player's spaceship is touched by the laser ray of an enemy spaceship, the player will lose 2 "spaceship's strength" points from the "SpaceshipStrengh" variable. Each time that the spaceship's strength, reach 0 (zero), 1 Live is subtracted from the "PlayerLives" variable. If the "PlayerLives" variable reaches 0, the "SpaceshipStrengh" variable will also remain at zero and the player's spaceship will explode.
The problem:
Sometimes the Spaceship Strength displays a higher value in the txtSpaceshipStrength (the text object that indicates the number of strengths that the player's spaceship has), than in the txtLives (the text object that indicates the number of lives that the player have):
Example:
Spaceship Strength:8
Lives: -5
*Those values are impossible because you cannot have -5 lives (a value below zero) and still be alive and have a spaceship strength of 8. The number of spaceship strength only restores to 10 if the number of life is superior and not equal to zero. If the number of lives reaches zero, the number of Spaceship's strength values will remain at zero and the spaceship will be destroyed.
I have submitted a picture of the issue so you can visually understand all the detail that I have explained in my post. Thank you for your time!: