TopbarPlus icon indicating copy to clipboard operation
TopbarPlus copied to clipboard

Roblox's new health bar is conflicts with topbarplus icons.

Open kaan650 opened this issue 1 year ago • 3 comments

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

kaan650 avatar Sep 25 '24 15:09 kaan650

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

1ForeverHD avatar Jun 04 '25 15:06 1ForeverHD

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: Image

After Taking Damage:

Image

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

jdc20181 avatar Oct 15 '25 14:10 jdc20181

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.lua

Before Taking Damage: Image

After Taking Damage:

Image 👍 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.

Image

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 :)

IdrisDose avatar Nov 05 '25 02:11 IdrisDose

@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 😄

1ForeverHD avatar Nov 09 '25 17:11 1ForeverHD