Follow the pin rope style example inside Construct, but change the bottom object on the rope to have applied physics. By doing that you can create a really simple rope, and then you can handle the testing of if an enemy touches it after that.
If you'd like an example, I could post an example project.