Do anyone knows how to make a top bar like this?

So, im making a gui and i want to know if theres a way to make the topbar like this witheout any image label?

Screenshot_130

I dont want to upload image labels because i will convert this gui into lua and if i use image labels it will become a very large script, and i like clean scripts

Can anyone help me?

Doable with a different colored frame making the top part and a TextButton with .Text set to “x”?

but then how i would go about doing the rounded corners?

Add a UICorner to the frame and adjust its CornerRadius small

1 Like

But then it would have a little gap on the sides, but this can work if i make it smaller, thanks!