execute if score @s MaxHealth matches 36 run attribute @s minecraft:generic.max_health base set 36
execute if score @s MaxHealth matches 37 run attribute @s minecraft:generic.max_health base set 37
execute if score @s MaxHealth matches 38 run attribute @s minecraft:generic.max_health base set 38