Create a new scene. Add two nodes, a
ProgressBar and a
Timer. Create a new script for the root node of the scene. Write the following code in it:
onready var timer = get_node("Timer")
onready var pb = get_node("ProgressBar")
timer.wait_time = pb.value
pb.value = timer.time_left
Now your Timer uses the
ProgressBar's value as its countdown time. You can even see the
ProgressBar decreasing as time goes by.
In case you didn't know, you can set the
ProgressBar's value by using its
If this is what you want, please mark this answer as best.