while true do if game.Workspace.Values.Round.Value == "Begin" then game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").Died:connect(function() print(player.Name .. " has died!") game.Workspace.Values.DeadGuns.Value = "Give" end) end) end) end wait(1) end
I need it so If the value is == "Begin" then I want it to see if their dead, so that way when they die, I can make them repsawn with a gun I have set.