What is the MOST effective revision to make in sentence 4?

A Her best friend was Caitlyn and who had just texted her but to join in the fun.

Her best friend had just texted and begged her to join in the fun with Caitlyn.

Her best friend Caitlyn had just texted her, begging her to join in the fun.

Her best friend Caitlyn had just texted her, who was begging her to join in the fun.

In the story unborn in the right direction

The most effective revision is: "Her best friend Caitlyn had just texted her, begging her to join in the fun."