I recently reconnected with a long-time friend. We used to be very close in secondary school, and he messaged me saying he wanted that closeness again. Now we have good conversation usually, through messages because we are a few hours from each other, and I hung out with him a couple days over Thanksgiving break. It's actually more like he talks constantly and I absorb every word. He has always been a radical thinker and a very intelligent person. He has always encouraged a philosophy of chaos at every turn. I've talked to him during some schizophrenic episodes in which he doesn't make sense and is obviously not in reality, but I don't disagree with what he says; I just tell him it sounds stressful and he eventually changes the subject. He often talks about a cult he ran because it was easy to manipulate vulnerable people; I have worried that he would use that ability to manipulate me.

Today was the worst. He messaged me asking him to "ground him" and even called me, which he never does. I wasn't online to talk until a few hours later. During our conversation he told me in a few days he knows I am going to rat him out because it's come to him in visions many times, and that when I do and he is jailed or dead (whichever happens in this illegal situation), he has friends who are going to cause trouble. He said I may be hurt or killed in the process since I betrayed him. It has played out for him many times, and he just knows what is going to happen. He mentioned his friends before when he told me about going to therapy for the first time. I know one of the people he mentioned and believe they exist, and they don't want him to get better. He doesn't want to go to therapy because he believes the therapist will get him locked up in a psych ward. I told him they will do what they can to help him, that would be a last resort and tried to assuage his fears, but he didn't want to talk about it. He only insisted on his way of "having control" after he is locked up through this chaos.

This scares me so much. I got sucked into this delusion and kept telling him I wouldn't do anything to hurt him, but he was very firm about telling me how everything would happen. He asked me if I trusted him, but I wasn't allowed to ask the same of him.

I've never been brought up as a subject in his delusions before now. I'm a little afraid for my life, but I'm also afraid for him and our friendship. This is also coming after we had a very intimate, normal conversation and we exchanged some photos. I've always liked him as a person and I don't want to lose him in any way. We are both lonely people. I felt an instant bond as we are both crazy, and we used to be such good friends. I'm feeling very anxious about it all. I'm even scared to post it here because what if he's right and I shouldn't mention any of this to anyone? I also think I'm stupid for buying into it all. But fact is, I'm afraid. 

TL;DR I'm looking for someone to help me not be afraid of my friend's delusions and maybe some advice on how to deal with this relationship and not think he is out to get me.