Health script doesnt work

after all of this, i solved it (somewhat) the main problem was (i was right) the if statement