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?
I think you can rename their Humanoid..
game.Players.PlayerAdded:connect(function() game.Players.LocalPlayer.Character.Humanoid.Name = "NoReset" end)
Localscript