I am trying to get the player's humanoid by using a text button, what do I do?
COMMUNITY QUESTION
How do I get the player's Humanoid by using a text button in screen GUI?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Well if you are modifying GUI's, it must be inside a local script. You can define the player by local player = Game.Players.LocalPlayer. You can then get the character with player.Character. local character = player.Character. local HP = character.Humanoid.Health