You can express that sentiment in several ways. Here are a few options:
- "I miss the moments I shared with my friends."
- "I miss the time I spent with my friends."
- "I long for the memories I created with my friends."
- "I cherish the moments I had with my friends and miss them."
Feel free to choose any of these or modify them to better fit your style!