Probably less than a week for many, also consider you're much more likely to doze off and trip/fall/be negligent near dangerous stuff like roads well before a week.
In high school once we had a 5 day DnD marathon where some of us only slept a couple hours total. By the end I was hallucinating the minis moving around the board on their own among other things. Only things we ate were energy drinks and microwaved tortillas with cheese. I don't remember a lot of it. I suspect doing that again in my 30s could actually kill me if for no other reason than the massive amounts of caffeine we were chugging