How to make progress percentage bar?

Hello! I want to make a quest system, but the problem is I don’t know how to make it so that whenever a player makes more progress on a specific quest, it adds more to the percentage bar. The main problem is that I have no clue how to make a percentage bar or what the math equation is to make it, an example will be good. Any help would be appreciated!

1 Like

you can use the property Udim2.new and gui:TweenSize to make the bar larger depending on how much of the quest you have finished.

so for example you could do something like:

gui:TweenSize(
      UDim2.new(questAmount/100, 0, 1, 0),
      “Out”,
      “Linear”,
      “0”
)

you would need to have variables set for the values of how much of the quest you have finished and how much the quest really needs and if you need more help with ways to implement it this video shows how to make a stamina bar. the content is different but the process is almost the same.

2 Likes