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