Who is in fault if a uninsured car slides down a slope and hits a car parked illeagally?

Both parties are.

The fact that the car is parked illegally or not has no bearing on who is at fault. The car that slid down the slope is at fault.