1ForeverHD / TopbarPlus

Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus.
https://devforum.roblox.com/t/topbarplus/1017485
Mozilla Public License 2.0
95 stars 123 forks source link

Using TopbarPlus :setRight() breaks deploying roblox's damage effect on screen (happens at Playground game as well) #66

Closed ColynOrg closed 6 months ago

ColynOrg commented 1 year ago

After trying to fix an issue on why damage effect doesn't show up when a player gets damaged it has come to a conclusion that this issue is from TopbarPlus itself.

(This issue also happens on the Playground game too!)

Edit: this only happens if icons use the :setRight()

Since you made a health gui to fit right with the topbar buttons you think you can do a damage effect similar to how roblox does it?

1ForeverHD commented 1 year ago

Hi CJ, you're right that the damage effect is disabled when an icon is set to the right. This happens because the Health CoreGui is disabled so that the custom healthbar can be shown instead (which dynamically moves with the icons unlike the default Roblox one) and unfortunately the damage effect is also internally disabled when this happens:

image

Is there an important reason you need the damage effect?

Have you explored making your own damage effect? https://www.youtube.com/watch?v=-hzDdv4sybA