<human>: Can you provide a brief overview of the text?

Hey Reddit! I've been living with 3 other guys during the last two semesters in a dorm. I couldn't ask for better roommates, we are really compatible with each other and became close friends. We learn/interested the same things and this one year was one of my bests at the university because of this little community of ours.

Sadly the last semester went horribly wrong, beacuse I failed an important subject. After I got the message about it I became really upset and applied to another uni.(it's just a few clicks to do that here) If I was wanted to stay at the current school it would mean nothing that I did this. At first I didn't know if I really wanted to change universities I just wanted to make sure to have a plan B and this seemed like a logical step. But now I decided to go with plan B and change to another university from the next semester.

Now I'm quite lost about telling them about me leaving. I'm really bad at handling these kinds of situations. It totally feels like some kind of betrayal for me and I fear they will feel the same way about it. Any suggestions on how to tell them about it in a way that it doesn't destroy my friendship with them?
<bot>: I'm changing universities and have no idea how to tell it to my frends who are my roommates too.