execute store result score @s maxhp run data get entity @s Health
scoreboard players remove @s maxhp 5
execute store result entity @s Health double 1 run scoreboard players get @s maxhp
scoreboard players reset @s maxhp