I want to figure out how to increment a player's health without writing 225 lines of Datapack code. I cannot find any way to do this. I've tried :
execute at @a run execute unless score @p custHealth matches 1 run attribute @p generic.max_health base set Health @p
but that does not work.