- how is the character spawned, how does it get into the world?
- does the cast fail?
- if you print the result of the division before the return, what does it print?
- what values are expected in the Heath and Full Health vs what they really are when while this executes?
- is this character possessed? are you controlling it?
- could demonstrate how damage is applied and how the variable is updated?
my health bar still isn’t working
Could you clarify what that means? As in:
- my car is not working - it’s in the ditch, on fire
or
- my car is not working - when I press the break pedal, it does not slow down and heads straight for the ditch
Asking for details The progress bar is there but not moving, it’s moving but incorrectly?