Unpaid tickets or fines stay with the person, not the car. You'll still be responsible for paying these even after the car is scrapped.