For my case, I just use math.max between a player’s intended new health and 0.1. Frankly, this is a fairly specific issue to your game and you haven’t specified what about this isn’t working in the first place. Please remember to abide by the category guidelines. One of the highlighted questions to answer is:
- What is the issue?
There is no issue specified in this thread.