Hey there, im currently making a custom HP bar. It works fine, except when the HP restores, it doesnt scale up to the same place than it started. This happens around 50% of the time and it fixes itself after taking damage again. Im not sure how to fix this.
Ive looked for a way to fix this on the dev forum but i cant seem to find any that help me out. I think it has to do with the frequency of checking the players HP, but im not sure how to make it update more frequently.
Heres some screenshots of my script and the frames
Im not too much into scripting, but what I understand from the code here is whenever the players health has changed, it will run the function you made.
But, it will ONLY run when health is changed which is why it only fixes when the player takes damage again, since the health status has changed.
I suggest putting this in the scripting support category.
well its not the scaling because it scales properly half of the time and it fixes itself too. how do i use Humanoid:GetPropertyChangedSignal(“Health”)?