Assuming everything is in one ScreenGUI element, just change the ZIndex property of the various GUI elements to set the priority they render in. A higher value will render on top of a lower value.
If you use multiple ScreenGUI’s you need to set the ZIndexBehaivor to global so it considers the ZIndex’s of other ScreenGUIs.
I tried doing this but doesn’t work for some reason, I changed the ScreenGui ZindexBehaivor , I also set the priority they render in being the higher value will render on top but didn’t work.
What did work was changing the DisplayOrder in the ScreenGui and that worked.