Complex sentence: Three tequila shots later, Lily still seems happy and Ted admits that Robin was right, but after Lily receives a call letting her know that someone else got the apartment that she wanted, she breaks down and admits that she is miserable without Marshall.
Split into simpler sentences: Three tequila shots later, Lily still seems happy and Ted admits that Robin was right. After Lily receives a call letting her know that someone else got the apartment that she wanted, however, she breaks down and admits that she is miserable without Marshall.