Complex sentence: When she opens the door, the "cop" is revealed to be Nathan, who shoots her with a nail gun.
Split into simpler sentences: When she opens the door the cop is revealed to be Nathan. He shoots her with a nail gun.