Trying to make a cooldown function in BPC

Hi, yeah but how do i check every loop or else to have a good porgress bar anim (CD Timer is link to the progress bar value (0 to 1 float))