I am making something for when a player dies this boolvalue changes to true, it won't work though
function onHumanoidDied(humanoid, player)
for _, playerdead in pairs (game.Workspace.PlayerStuffs:FindFirstChild(player.Name)) do
playerdead.Value = true
end
end
Thats the code.
