An update. The lifter valve for the high pressure fuel system was seized which was causing the ticking noise. It had beat into the high pressure fuel pump also. So will be replacing that also. Cam looks fine. Hopefully that is all the issues. I don’t know if the lifter valve seizing would cause the sludge buildup that I had? I had changed my oil on a regular basis so lack of oil changes shouldn’t have caused it.