My Game Has Health Overflow

This is my game: https://flowlab.io/game/view/1630992
When i pick up a med pack, and im on full heath, the health overflows, and instead of the 20 health, it goes to 25 without showing it. I want to stop it from overflowing.

1 Like

This should help.
asdfghjk

1 Like

Make it so when the Health bar goes over 100 or whatever the limit is it will set the health back down to 100.

Sorry @glowbug I didn’t see your post while I typed this lol.

If its greater than 20, the number should be 20.

Yeah, I just noticed that too, haha. I’ll change it in a bit.

1 Like

Thanks guys, appreciate it.

1 Like