Need help with custom sidebar

help! ive spent around 2 hours trying to make my sidebar health setup look like this:

but all i got is this:

could someone smart help me?

also im sorry if im creating this topic in the wrong category

edit: nvm someone on discord helped me