Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Tried making a healing pad, and I don't know whats wrong, any help?

Asked by 5 years ago

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?

1 answer

Log in to vote
0
Answered by 5 years ago

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

Ad

Answer this question