Help debugging and fixing major issues in my datapack!

Hello, I'm That1GuyGams and I'll cut to the chase

I am working on a datapack for awhile that is a mix on Grian's Last Life series. I call it Life Labyrinth. While mostly everything does work, there are major bugs that make it unplayable as intended.

The first bug that I really want to fix is my regeneration issue. I have each player set to 30 hearts with a function called set_base_30.mcfunction, and that runs fine, it sets the base to 30, and gives the regen on it's own. You see, when each player loses a life in the series, it is supposed to run that function. But that's the issue, it doesn't run the function and give them the 30 & regen. So I wanted to know if anyone can help me fix this one bug first. I know there isn't much here, but if you need the file, and I'll send pictures of the code. But if you need the datapack file for help, please do lmk!

Continue to help post