Option to Disable Reset Character

I think that it would be extremely useful to be able to set whether players are allowed to reset their character or not. Currently, the only way I know of to prevent resetting is to rename a player’s Humanoid. The ability to disable resetting your character would prove especially invaluable in games that have their own health system, rather than ROBLOX’s default. Perhaps this could be a value in StarterPlayer; something like StarterPlayer.ResetCharacterEnabled

1 Like

Just change the name of the character’s humanoid - that way reset button doesn’t work

You can do this through a LocalScript already.

local player = game.Players.LocalPlayer;
local character = player.Character;
local humanoid = character.Humanoid;

humanoid.HealthChanged:connect(function(health)
    if (health < 100) then
        humanoid.Health = 100;
    end
end);

This is what I use in my game, except I make it so it when this is called it fires the fake death my game has; which allows people to still “reset” if they somehow get stuck. It works fine.

[quote] You can do this through a LocalScript already.

local player = game.Players.LocalPlayer;
local character = player.Character;
local humanoid = character.Humanoid;

humanoid.HealthChanged:connect(function(health)
    if (health < 100) then
        humanoid.Health = 100;
    end
end);

This is what I use in my game, except I make it so it when this is called it fires the fake death my game has; which allows people to still “reset” if they somehow get stuck. It works fine. [/quote]

Thanks! I’ll try it. I’d still like a more ‘official’ way to disable it.