A man who fits the description of a kiddie-sex fiend who’s been on the loose in Brooklyn for weeks was in police custody last night, after he was caught trying to lure children into his car with candy, police said.

The man, who was being questioned at the 66th Precinct station house, approached a 10-year-old girl who was playing outside with friends, including her three sisters, on 55th Street, cops and witnesses said.

“I have a lollipop, and if you want it you have to get in,” police sources quoted him telling the terrified girl.

The youngsters fled.

The suspect was picked up more than two hours later. The mom of one of the girls said that if he is found guilty, “he should rot in jail for the rest of his life . . . I’d bash him on the head with my hammer.”

Police sources said he matched the description of a perv who has been preying on kids in the largely Orthodox Jewish neighborhood.

A predator sidled up to girls in the neighborhood on four occasions in separate attempted abductions and has groped at least one.