All five members of a Barabanki-based family attempted to immolate themselves outside the high-security Vidhan Bhavan building that houses the Uttar Pradesh Legislative Assembly and Legislative Council here on Monday, but were prevented by the police personnel present there before they could set themselves ablaze.