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

How do I make a player unresetable?

I am making a game, but when the player resets it will completely BREAK the game. I am trying to make a script where you can't reset the player so I tried this.

game.Players.PlayerAdded:connect(function(plr)
	plr.Character.Humanoid.MaxHealth = 0
	plr.Character.Humanoid.Health = 0
end)

The code above only removed the player from the Workspace, or from the game. Is there a proper way to do this?

1 answer

✓ Accepted answer

I think you can rename their Humanoid..

game.Players.PlayerAdded:connect(function()
	game.Players.LocalPlayer.Character.Humanoid.Name = "NoReset"
end)

Localscript

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