Hello. I think I need a little more context to understand the issue. Do you want to take damage once your oxygen is completely depleted?
From what I’m understanding, you have your separate bars and you will need to make a function that recognizes when oxygen is at 0 and start to damage you from there, probably using an interval through a timer.