How do i turn a set and delay functions into a loop for a countdown?

Oh i didnt see that, thxs for the info, it works now