A PERVERT was snared at a library after using their public computers to chat to a girl he believed was 13-years-old.

Scott Hendry, 40, instead spoke to an adult decoy at Cardonald Library, Glasgow, in March this year.

Hendry used the Meet 24 application to meet the decoy who told him she was 13.

Glasgow Sheriff Court heard Hendry told the decoy his name before the chat quickly turned sexual in nature over two days.

READ MORE: Callous thieves exploit lockdown for Glasgow City Centre raids

Hendry said: “Okay, are you okay? I’m from Scotland, do you like talking dirty on here? Lol baby.”

He then went on to make a sexual remark which prompted the decoy to go contact the police.

Prosecutor Mark Allan said: “Police traced Hendry to the library because part of his conversation was he was in Cardonald Library.

“Police tracked him there on a Saturday having been provided with information and he was arrested.”

Hendry pleaded guilty today to sending sexual communications that were of a graphic nature and attempting communicate indecently with a child.

READ MORE: Seven teens arrested after large-scale Hogarth Park disturbance

Moira Grant, defending, told the court Hendry has previous convictions for similar offences.

Sentence was deferred until July for background reports by Sheriff Paul Crozier who remanded Hendry in custody meantime.

Sheriff Crozier also put him on the sex offenders register indefinitely.