Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to change the local player health ?

I want to make the local player health to 500 they said I can change "humanoid" but I cant find it

5 comments

0

It depends, What is causing the player's health to change?

0

zombie's damage too high

0

then lower the zombie's damage problem solved

0

but I cant change zombie's damage I took it form toolbox

0

If it's the freemodel from roblox, called "Drooling Zombie", then just search for the configurations folder and change the damage value.

1 answer

✓ Accepted answer

To change the humanoid's health, just use a simple script to find the Humanoid and change the Health and MaxHealth value:

local player = game.Players.LocalPlayer -- Gets the player
local char = player.Character --Gets the player's character

char.Humanoid.MaxHealth = 500 --Sets the MaxHealth of the Humanoid to 500
char.Humanoid.Health = 500 --Sets the health to 500, so that the player is at full HP.

This discussion is preserved as it was. New answers, comments, and votes are closed.