game.Players.Character.Humanoid.Died:connect( function(hit) hit = Humanoid:FindFirstChild("") hit.Name.Points.Value = hit.Name.Points.Value - 1 end )
You misused the Died event. Also, you didn't properly access a Player's leaderstats which is a direct descendant of the Player. The script below was pulled straight from the Wiki. Any questions? Drop a comment below!
game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").Died:connect(function() player.leaderstats.Points.Value = player.leaderstats.Points.Value - 1 end) end) end)