I want to make the value 100 when the player dies
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() game.Players.LocalPlayer.Health.Value = 100 end)
Replace game.Players.LocalPlayer.Health.Value = 100
with game.Players.LocalPlayer.Humanoid.Health = 100