Add a global Variable "LastUID"
In event 4, add an action "Set LastUID to Body.UID" (this will allow us to pick that body part later.
Event 10 add a blank subevent.
Add a local variable (NewUID)
Create a body part (like in event 4) and set NewUID to Body.UID (the newly created body part.
Then as a subevent of this subevent, Pick all Body, Body pick instance with UID LastUID, Tailpiece2 pick instance with UID NewUID.
Actions : TailPiece2 Set position to Body.X + 32, Body.Y
TailPiece2 Pin to Body Rope Style
Set LastUID to TailPiece2.UID