Help with fixing health bar GUI

Hello fellow developers ! I have created a health bar for my game and here is it’s picture. Screenshot 2021-07-10 at 3.13.57 PM
So , the issue is like the green area which is the main health bar needs to cover the whole area inside the health bar design gui i.e the sword thing but I made it’s end slanting because I thought that it is looking much better like that but the main health bar is not covering the slant part so how can I fix that?
I am not sure about the topic as I don’t know whether the solution will be through scripting or doing something in the gui only.
All help and any feedback on the health bar gui will be really appreciated.

Not completely sure, but I think there’s a property called clip decedents you can set on the ui to cut out anything that goes outside that area.

Edit- Yeah here’s a link to the wiki page. GuiObject.ClipsDescendants (roblox.com)

3 Likes