Progress bar not changing?

Thanks for pointing out breakpoints tt me didn’t know about them until now. I’m getting a lot of “variable not in scope” I’m not sure if that means anything you might need to break this down for me a bit.