The Disappearing Act

The Disappearing Act is a side quest in Fallout 4.

Quick walkthrough

 * 1) Accept the quest from Nick Valentine's office.
 * 2) (Optional) Obtain the key to Earl Sterling's house (Vadim Bobrov was his friend and will give it).
 * 3) (Optional) Ask Scarlett about her opinion of Earl.
 * 4) Search Earl Sterling's house for clues.
 * 5) Investigate the Mega surgery center.
 * 6) After examining the blood stain or talking to Doctor Sun and passing two Charisma checks, obtain the surgery cellar key (pickpocket Doctor Sun) or pick the advanced lock into the cellar behind him.
 * 7) Investigate the surgery cellar.
 * 8) Deal with Doc Crocker.
 * 9) Talk to Ellie Perkins.

Detailed walkthrough
The quest starts after Unlikely Valentine has been finished.
 * 1) Gain entrance to Earl Sterling's house.
 * 2) * Pick the novice level lock to Earl Sterling's house, subsequently considered trespassing.
 * 3) * Or head to the Dugout Inn and speak to Vadim Bobrov to obtain the key. Speaking with Yefim and Scarlett will provide speech check opportunities and additional information about the case. Scarlet will notably hint that Earl was eager to get aesthetic surgery.
 * 4) Next go to Earl Sterling's house look at the sofa and to the left side of the sofa is a Surgery receipt. If you have Nick Valentine with you, eventually he'll find it and ask you to "take a look over here" when he does.
 * 5) Speak to Doctor Sun next to the Mega Surgery Center and pass two charisma checks (one easy and one medium, if having the receipt) or examine the blood stain without speaking to him. To get into the cellar either pick the advanced lock, pickpocket the key from Doctor Sun or just ask him for access and pass a medium speech check.
 * 6) After going into the cellar, talk to Doc Crocker. You can either end the conflict by passing one of two charisma check options for to arrest or end peacefully (both will cause Doc Crocker to commit suicide) or kill him.
 * 7) Talk to Doctor Sun.
 * 8) Go back to Valentine Detective Agency and collect the approximately 200 bottlecap reward.

Companion reactions

 * MacCready will dislike arresting Crocker, but like killing him (this is only before a certain point in his personal quest, after which he will instead like the peaceful resolution).
 * Cait will dislike arresting Crocker, but like talking him down peacefully.
 * Curie will like talking Crocker down peacefully.
 * Piper will both like arrest or, talking Crocker down peacefully.
 * Deacon will like arresting Crocker, whether the persuasion is successful or not.
 * Hancock will dislike arresting Crocker and dislike attempting to talk him down peacefully, however he will like using violence.
 * Nick Valentine will like arresting Crocker, but dislike killing him.
 * Danse will like arresting Crocker, but is neutral towards a peaceful conclusion.
 * Strong will like arresting Crocker and dislike attempting to talk him down peacefully, however he will love using violence.
 * Codsworth will like talking him down peacefully.
 * X6-88 is likes skipping arrest and going straight to 'Violence.'
 * Preston Garvey will both like arresting Crocker, and talking him down peacefully, But will dislike using violence.

Bugs

 * If you are high enough in Level for the Far Harbor mission "Far from Home" to show up, you might have difficulty in getting Ellie to recognize that you have complete this mission. It appears her priority is to get you to take the new mission rather than pay off and close this one.
 * She will deal with the Far Harbor mission first, but if approached a second time, "The Disappearing Act" can be completed as normal.
 * If attempting this quest when the Mega Surgery Centre is not open, Dr Sun will be there but the objective to talk to him will not appear after Crocker dies. Sun will still be waiting for you once you exit the basement but attempting to initiate conversation will only cause the 'This individual is busy' message to show and he will remain immobile, potentially blocking your way from the area. If you can get past him, completing the quest by talking to Ellie will return everything to normal.