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