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

How to change the local player health ? [closed]

Asked by 6 years ago

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

0
It depends, What is causing the player's health to change? winner208 74 — 6y
0
zombie's damage too high Organic_Cow -4 — 6y
0
then lower the zombie's damage problem solved hiimgoodpack 2009 — 6y
0
but I cant change zombie's damage I took it form toolbox Organic_Cow -4 — 6y
0
If it's the freemodel from roblox, called "Drooling Zombie", then just search for the configurations folder and change the damage value. blacksmiley0 19 — 6y

Closed as Not Constructive by TheeDeathCaster, Vulkarin, and cabbler

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 6 years ago

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.
Ad