What did he mean by this?

i told his girlfriend he was cheating with me , I regret it :( we had a huge argument he was shouting ! Today we had another argument but that one talked I told him I didn't want to lose him as a friend he then said well I haven't blocked your number have I , what did he mean by this?

Trust you? He's banging you behind his GF's back. Exactly which leg is he standing on?

No confusion here. He's annoyed that you ratted him out but maybe still keen to keep whatever it is you have going. He was enjoying himself but you exposed everything and you have now caused him a huge headache. He now has to explain everything to his girlfriend. He is basically saying we had a good thing and now you've ruined it and I hate you for doing that.

The reason I told his girlfriend is because I thought he was banging someone else !! He has told me over and over he hasn't. I was horrible I went crazy I called him every name under the sun , we talked I felt guilty , he rang because I was being horrible through text has I get hurt , it all calmed and he was weeping so I said I hate losing you as a friend and that's when he said well I haven't blocked you. I'm messed up here so many emotions

Sadly, he doesn't appear to be that much of a catch but it's your choice what you want from him. Let it all calm down and then you will most likely get your friendship/relationship back on track. He appears to want his cake and to eat it too !