Some UI dent thingy

So I have a health bar and I want it to look something like this:

But it looks like this:
the problem

How would I get the second image to look like the first?

I believe this is some sort of corner image that is a sliced image label. If you resized it without the image being sliced, it would be stretched.

if i remember the code was this:

frame.Size = UDim.FromScale(curr/max,y)
frame.bar.Size = UDim.FromScale(1+((curr-max)/max),1)

What is this supposed to do exactly?

It’s called a bevel, and you have to make it in another program, then import it into Roblox Studio.

Nevermind I dont need it anymore.

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