How do you bind delay to progress bar?

For an attack system, after each attack there is a cooldown. I have the cooldown completely working but I cannot seem to figure out how to bind the amount of time left to a progress bar. Thanks in advance!

There will be as many ways as there are people:

I generally recommend avoiding Delays and using Timers instead, they count time and can be queried for data, paused, reset and so on.