A 64-year-old man is facing prison after pleading guilty to the attempted robbery of a shopping centre bank while armed with a 'vape'.