I know that our ancestors in Ancient India (Bharath) were advanced. I just wanna know if there are any references of robots in our Hindu Scriptures?
The Indian Lokapannatti (11th/12th century) tells the story of King Ajatashatru of Magadha who gathered the Buddhas relics and hid them in an underground stupa. The Buddha's relics were protected by mechanical robots (bhuta vahana yanta), from the kingdom of Roma visaya; until they were disarmed by King Ashoka.
When the Vanaras saw Kumbhakrana, they fled. Then Vibhisana told Rama the following words -
"Let’s tell all the monkeys that he is just some giant mechanical man. Once they accept that, they will lose their fear of him." - Valmiki Ramayana VI.49.31
The Ramayana of Valmiki: An Epic of Ancient India Volume VI (Yuddhakanda). Page No. 271. Translation and annotation by Robert P. Goldman, Sally J. Sutherland Goldman and Barend A. van Nooten. Princeton University Press. Princeton and Oxford. 2009. (Link)