Leaking transmission fluid and knocking
If you are positive that your vehicle is leaking transmission fluid, the knocking sound is likely related. I would recommend having your vehicle inspected for leaks first. (https://www.yourmechanic.com/services/transmission-fluid-is-leaking-inspection) Once the leak source is determined, have it repaired by a qualified...