Roblox's new health bar is conflicts with topbarplus icons.
with the recent update that roblox added new health bar, I noticed an issue. When the player's health decreases, the icons on the right side of the topbar no longer shift or adjust as expected. This causes a conflict where the icons overlap or remain static when the health bar appears or changes.
Just to clarify, I am not using a custom health bar — this is Roblox's new default health bar.
Video:
https://github.com/user-attachments/assets/567c80ce-c095-4241-8b97-e34277d8c139
Good point thanks, I've done some digging and I can't find any reliable way to account for this myself either so I'll double check with Roblox. If anyone does find a solution I'm more than happy to have it implemented
It is not a practical solution, but its still a potential solution anyway - The solution is listening to health changes, and when the health bar is visible adjust the alignment of the topbar. 😅 It has been a while since I used Github's web interface and I am not sure how to create a PR - so the modification can be seen here: https://github.com/jdc20181/TopbarPlusPR/blob/main/src/Elements/Container.lua
Before Taking Damage:
After Taking Damage:
👍 Hope this helps! (and it probably needs fine tuning before its used)
It is not a practical solution, but its still a potential solution anyway - The solution is listening to health changes, and when the health bar is visible adjust the alignment of the topbar. 😅 It has been a while since I used Github's web interface and I am not sure how to create a PR - so the modification can be seen here: jdc20181/TopbarPlusPR@
main/src/Elements/Container.luaBefore Taking Damage:
After Taking Damage:
👍 Hope this helps! (and it probably needs fine tuning before its used)
Hey! To make a PR; Just head over to the Pull Requests and click the compare across forks, select your repository as the HEAD repo and ensure that this repo is the BASE repo.
Hope that helps! Alternatively I may be able to fork the repo and then make the needed changes and then PR it while giving you full credit :)
@jdc20181 @IdrisDose Thanks for your help in providing solutions for this https://github.com/1ForeverHD/TopbarPlus/pull/191 - will review and get back to you for the next version release 😄

👍 Hope this helps! (and it probably needs fine tuning before its used)