Hey KingRCooper,
My suggestion would be to have another Boolean check to see whether or not the value for Energy is <= to 0, and if it is True then stop subtracting energy and set your Boolean to false, otherwise continue subtracting energy and set your Boolean to True.