Throwaway because I don’t want the people following my main to think I’m insane.

Last night I had an anxiety attack where I started to question myself for living. I remember I was venting to a friend and then suddenly I started hearing a voice in my head threatening me to hurt myself. They wanted me to bite myself for being worthless. I was really breaking down at this point to my friend and then I remember just...snapping. I started talking in a different PoV to my friend, I was conscious but I couldn’t control what I was saying to her. I typed things like ‘She (as in myself) is worthless and I’m taking over from here’ and ‘You’re so funny that you care about such an idiot haha’, basically harassing myself and scaring my friend. My heart was racing and I couldn’t control anything anymore but I was still there, I could see everything. Then I kept switching back and forth and I really scared my friend.

It eventually ended after 45 minutes of constantly switching but I’ve never heard of anything like this and I’m scared of myself. I’m scared of harming myself when I’m not in control, yet can see everything. Does anyone know what mental illness this can possibly fall under?

I have professionally diagnosed Autism and General + Social Anxiety if it helps.