How to make a bar with sections?

Hello. I am trying to make a percentage bar and I need to know how to make a bar with some sort of “sections”.

Here is an example with roblox’s like/dislike bar.
image_2024-05-12_000653763

How can I achieve this?

1 Like

You could:

  1. Use a textlabel and put in a | and scale the text to fit your bar
  2. Make a frame, shrink it down and change the BorderSizePixel to a number that fits your bar. (probably will have to play around with the numbers a bit)
1 Like

Use a canvas group and use a frame inside of it, then get a veriable and set the persentage to the length and then add the sections aswelll like lines.

1 Like

Thanks for helping! I didn’t know CanvasGroups existed!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.