execute if score @s MaxHealth matches 39 run attribute @s minecraft:generic.max_health base set 39
execute if score @s MaxHealth matches 40 run attribute @s minecraft:generic.max_health base set 40
execute if score @s MaxHealth matches 41 run attribute @s minecraft:generic.max_health base set 41
execute if score @s MaxHealth matches 42 run attribute @s minecraft:generic.max_health base set 42
execute if score @s MaxHealth matches 43 run attribute @s minecraft:generic.max_health base set 43
execute if score @s MaxHealth matches 44 run attribute @s minecraft:generic.max_health base set 44