A CREEPY cop looks set to lose his job after being slapped with an electronic tag after stalking his ex-girlfriend.

Crazed Constable Alan McLuckie was spared jail at Kilmarnock Sheriff court this week after admitting to creeping into her garden at night to plant flowers and notes after she dumped him.

The court heard the 42-year-old went to desperate lengths to win back his ex, even planting daffodils while she was on holiday and leaving messages spelled out in stones.

When she returned the victim ripped the flowers out, but a day later obsessed McLuckie went back and planted a single red rose and left another love note.

The couple got left their respective partners to be with each other after striking up a friendship while working for an alarm company, where McLuckie had worked as an engineer, before becoming a police officer.

But she wanted nothing more to do with the police officer after an argument and he went on to cause her fear or alarm by hounding her with desperate attempts to get her back.

The dad-of-two also emailed her to tell her she had left the lights on in her home – and hounded her so badly he was accused of sitting outside her former home in Ardrossan all night.

She had to block his mobile phone number and email address, and got a solicitor to write to him warning him to steer clear – before moving to a new home.

McLuckie admitted stalking the woman between March and May this year.

Defence Solicitor Advocate Callum Anderson said McLuckie, who has been a police officer for seven years, knew his days as a cop were numbered due to his behaviour and the subsequent “Gross Misconduct” disciplinary proceedings.

He added: “The relationship was intense and tempestuous. He accepts his position as a police officer is untenable now.

“He now has to look for a job outwith the police and is considering going back to his previous trade. He was struggling to accept the relationship is over but he accepts and recognises there is no prospect of reconciliation.

“He didn’t appreciate at the time the effect his actions were having on the complainer. He has asked me to apologise to her.”

The court heard one of the letters he wrote her, which was attached to flowers he hand delivered after she refused to take them when they were delivered to her home, read: “I’ve always loved you with my whole heart and will forever more.

Another handwritten note read: “If you’re happy to tell your story then please ensure it’s clear that all I ever wanted was to be loved in the way I adored and idolised you.”

Sheriff Michael Hanlon had previously ruled he could not sentence the police officer without further information – due to the fact he was not sorry for his actions.

But this week he slammed McLuckie, who is paying for his actions.

The judge said: “What you were doing was in no way whatsoever romantic – and I have a slight concern about the failure to realise the effect, on the complainer, of your actions.

“I am going to take a step back from a custodial sentence.”

He placed McLuckie on a Community Payback Order which will see him supervised by social workers for two years and attending domestic abuse counselling to get him to change his ways.

He was also made the subject of Restriction of Liberty Order, which will see him having to wear an electronic tag and remain in his mother’s home between 8pm and 7am every day for the next 13 weeks.

And he was made the subject of a Non-Harassment Order, banning him from approaching or contacting the victim for the next three years.

Chief Superintendent Andy McDowall, of Police Scotland, said: “We are aware of the outcome of this case, and a report will be made to the Deputy Chief Constable, People and Professionalism, for consideration of misconduct proceedings.”