Complex sentence: Iron Man then attacks and flees, but as he leaves, Black Widow attaches a tracking device on his back.
Split into simpler sentences: Iron Man then attacks and flees. But as he leaves, Black Widow attaches a tracking device on his back.