"Ok so i was driving my car and i came to a stop and put it in park then it turned of,
the clutch rattled"
um there is your issue you have an automatic (aka you put it in park, which is impossible with a manual) then your clutch rattled, your car has both auto and manual transmission parts. I would start there
lol did you let out of the clutch in gear, if so there is your problem