Why doesn’t my Nitro bar want to drain?

I followed the tutorial series and at one point the one who made the tutorial from a cast it promoted in variable and then used it to code the Nitro.