How do I make a bar fill with the value

How do I make a bar will depend how much the value are

here bar:
in MaxValue (textlabel) in text write max value bar and in YourValue (textlabel) in text write your value now…