Pennsylvania Attorney General Dave Sunday is warning residents about scam emails and text messages​ that claim to come from municipal courts.