I'm trying to make it so when a player dies the Dead Value adds 1 and the Alive value subtracts 1. Here is the script:
function onHumanoidDied(humanoid, player)
game.Workspace.Dead.Value = game.Workspace.Dead.Value + 1
game.Workspace.Alive.Value = game.Workspace.Alive.Value - 1
end
What is wrong with it? If anyone would help I would be grateful! Edit: I figured it out.

1 comment
Is onHumanoidDied connected to the Died event?