I wouldn’t touch it unless it is manual.
If it is manual, it can be a fun project car, and spending some money to fix it makes sense.
If it is automatic, I would buy it probably for $500 and expect to drive it for next 6 months.. Forget about spending any money for fixing it.