How could I make a task bar? (Like Among us)

So I just wanted to know how to make a task bar. so like I made this task gui and for example I make the numbers “43932” and when I click enter it says task completed then the task bar fills up all the way. (For any of you finna say “try it by your self, or look it up” I tried both of those and I’m getting no errors but nothing isn’t working. If anyone knows a script, model anything.

Stuff I have rn: I have the task done so I just need the task bar. so like I have scripts.
so can anyone like tell me the frames, scripts… local or normal. etc.
so does anyone know how to make the task bar fill up after the “Result” gui appears? (ROBLOX is down rn, so I don’t think I can send the scripts right exactly now, but I will edit this message and put the scripts)

Since the part that calculates would be on the server side, since I assume it would show for all players. Have a number that is the total of all tasks, then once a task is complete, another number, set at 0, goes up by 1 when the server receives that a task has been done. Then calculate the percentage based on the amount of tasks done number, to the total tasks, and use the percentage to move your gui (task bar).

2 Likes

I would use a NumberValue to display the amount of tasks you have, whenever a task is completed you can set the NumberValue down by 1 and use TweenService to make the bar go down.

However, both ways work.

I just made a task bar and I no longer need help, thank you!