Can anyone guide me on the steps it would take to create a progress bar for an obby? Any help is appreciated.
1 Like
You can think of a progress bar as the percent towards a goal.
- Track the number of stages the player has completed as “stagesComplete”
- Divide stagesComplete by the total number of stages
- The result is a percent from 0 to 1
After that you have two options:
- Display the percent as a percentage from 0 to 100: math.round(percent * 100)
- Resize a UI frame to reflect the percent: UDim2.new(percent, 0, 1, 0)
I hope that helps!
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.