Threatening/blackmailing

Hi, I joined a company on 28th Feb 2017. At the time of joining they took my 10th and 12th marks cards and 40,000 check. I could not continue with the company as it was a small organization and people in the company used to make fun of my gestures and i am gay and things like that. The work environment was very toxic and it started affecting me physiologically. I left after 3 months because of this. I had sent a detailed e mail showing the reasons for my separation. There was no reply from the director though he read the email. After couple of months, I got a call from the Team Leader asking me to join back as those employees left. I rejected the offer. However, I called them after a month and I said I will join. But I did not. Two weeks before I went there to join and finished one whole day. But I was not able to continue, firstly, its a night shit and company isnt proving a trasportation and I don't have money to travel on my own. Second, I started getting all that memories how I was harrased in that company. Last night I got a message from the director saying he is going to deposti the chq and take legal action aganist me. where I clearly had told him that I don't have money to travel to work. I couldnt work anywhere else because he has held my marks cards. Before I left, I had taken a salary advance of 10k due to an emergency, My inention of going back to the company twice is to return that. But I cannot work there. Why should I pay 40k? I have been harrased and threated again.