the code worked when i first made it, but when i opened the project and tested it a few hours later it didnt work. i have a score that should update when you get higher and higher into the air, however the text wont update and always displays 0, or the variable that i use to know what the score should be(the height of the player from the ground) wont update. as i mentioned the code worked fine when i first made it, and i didnt make any changes to the code, but now it just doesnt work anymore.
heres a picture of the code