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

A script that stops ROBLOX's natural healing?

So you can only heal if you touch a brick that heals you

3 answers

✓ Accepted answer

Place in StarterGui or StarterPack.

repeat wait() until script.Parent.Parent.Character:FindFirstChild("Health") --Wait until it exists.
script.Parent.Parent.Character.Health:destroy() --Destroy it.

4 comments

0

This just gets rid of the health regen not the whole health system right?

0

This is great, thanks!

0

The healthbar can only be removed with CoreGuiEnabled the "Health" script is the regeneration script.

0

@Mystdar Ye It Does, It Just Removes Regen.

insert a Script (not Local Script) into

StarterPlayer > StarterCharacterScripts

you MUST name the script "Health"

then type in:

script:Destroy()

what it does is it replaces the original Health script with the one you've inserted, so each time the player respawns, it'll have that same health script that you've inserted into StarterCharacterScripts

ik this has been 4 years, but just in case you didnt know

this is also the fastest way to do it without doing all of that check if the player has the health script and delete it—from another script

Remove the health script and add your own to the character at every respawn. Remember, this is not a place to ask.. for... scripts.

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