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

Is there a safe way to prevent resetting?[Don't answer]

I know how, just change the humanoid's name, but is there a way to do it safely? Because if you do it this method, it will not allow the player the regen health! Which is a big problem. Thanks if you find a way.


EDIT

I don't want to change the humanoid's name or else I need to keep a copy of every script in the game that has "Humanoid" with a capital "H" and replace it with a lower case one.



EDIT

I don't care about this anymore, I'm moving on. I found a solution.

1 comment

2

According to the wiki: Quickly change the Humanoid's Health from 0 to 100 and call MakeJoints on the character when it's about to die. This should prevent dying at all. It is suggested you use the Humanoid's Died event.

1 answer

Name Humanoid to humanoid

repeat wait() until game.Players.LocalPlayer.Character ~= nil
game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
game.Players.LocalPlayer.Character.Humanoid.Name = "humanoid"

Something like this LocalScript in StarterGui

2 comments

0

I just said, is there a way to do so WITHOUT CHANGING THE HUMANOID'S NAME?!

0

If it's by the logic of changing the name of the humanoid, you could just paste a previous copy you made from it.

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