Get the current hp the for entity and set it as the maxHP, if currhp goes higher than maxhp(player healed), readjust the maxhp. Even though you cant pull the actual maxHP, you can still set a theoretical max so that other features with still work(%HP Thresholds for aimbot, smart filter targeting, healthbars). Thanks.