how come there's a pile of bits with it , That looks like me at 10, new toy, take it to pieces
Copart are famous for this. They take all the hanging bits off to make it look not as bad as it is. Usually, Copart dont show you the bits but they must be slipping in this case.
Basically, all those parts will be smashed so thats what you need to replace.
On the other hand, they could have received the car this way. What this tells you is a dealer attempted to repair it, then found issues and bailed out of it, as I said in an earlier post, its been hit in the gearbox so there could be hidden issues there.
Buyer beware on this one I feel.