to alter the hp value you want players to have follow this steps:

1. go to data/customhp/functions/

2. open the .mcfunction file with notepad/virtual studio code/any other code editting software

3. change the value in
"attribute @p[tag=chp] minecraft:generic.max_health base set 40" from "40" to your desired amount of HP in integral numbers!

4. load the datapack, and the players HP will change to that amount!
