https://gyazo.com/8ad97c6ce0d68247cf93d414eb11f981
I'm like REALLY bad at scripting and in my head, this would work. But apparently not. Any help with this?
The Health property (H is capitalized) is a property of the Humanoid class, not the player class. Or, I'm assuming that's what you're referring to by player. In case you do not know what I am talking about, the Humanoid can be accessed through
player.Character:FindFirstChild("Humanoid")
Hope this helps