i dont know what to do :/'

ok, so me and this guy met on an online game (you dont need to know sry) and we were great friends, at the time he had a gf, named (not gonna actually say it so ill say kaelyn) and he went to me for relationship advice, i always helped him, but then kaelyn broke up with him. he got over her (somewhat) and then he started dating this new girl. i was partially hurt by that, and then (over snapchat, we were talking) he was telling me about her, blah blah, and then itell him that i like him. im a good person in general, and basically our relationship was a fun and great one, he was really nice and great and ah i still love him, but he was always negative and he "loved hurting people" he once or twice told me that he was using me and didnt love me. he always went back to (kaily, name of the new girl i was talking about, backstory: he made a promise to never leave her, but they always take breaks) and in between those breaks, he was dating me. i was a good girlfriend, he said that i was a good person because i loved him for who he was, and he broke up with me a few days ago. but then, on that day, i got my period! *worst. day ever.* and i spent 2 hrs in bed crying over him, but then, WHOO mood swings! i was extremely happy, (weird idk) and so then i was like"ok, its fine" but i didnt know he was dating kaily while he dated me. im still in the process of getting over him, but my life actually got happier. maybe its for the best? im actually very happy now, maybe its just my period helping me?? i will always care and love him, when kaily doesnt, but i know he loves me, "in the end, my heart wants kaily", and I QUOTE! but i guess he still loves me, but his heart wants kaily. idk what to do, o well, i AM over him, im just so terrified ill never find anyone else like him. i really saw potential in him, and thought we could stay together. idk, i guess you cant trust people for long distance. (we were long distance, sry i didnt say that earlier..) and i really dont know what to do.