I went through this before. First, I paid some deposit. Then, the seller will send the car for inspection. Once done, pay cash and immediately bring the seller to JPJ to transfer name. I did this.
Some even did online transfer while waiting at JPJ to transfer name. U will want to minimise...