I have a script that heals a player to 100 health. But lets say I want it to heal the player to his/her max health? Like if the players max health was 500, but because the brick only heals to 100, it will only heal that player to 100, not 500. How do I make it maxHealth? I think I need it to find the value of the players - humanoid - maxHealth value and set the health to that, but I don't know how to do that. Any help please? |