"We have video putting you at the scene and two eyewitness who picked your mugshot out of a line up. Now if you let this go to trial your looking at at least 15 years, but you seem like a good kid. If you work with me on this I'm sure I can talk to DA into reducing the charges. Probably have you out on parole in 5."
...And, to be clear, the deception here can absolutely also be about what sentence the victim is likely to get. Sign a false confession, and suddenly you find that they're actually only offering you a plea bargain with a minimum of 20 years.
I can't tell if you're being willfully dense or serious. If you're deceiving people and pressuring them to lie in order to close a case, they will say anything to be released, potentially not knowing the implications.
People make plea deals and write confessions to reduce the punishment if they think they will be convicted. That motivation remains entirely the same even if they think they will be falsely convicted.
With access to a lawyer (one of the other issues) this shouldn't be a problem. And there are ways the police are supposed to verify the confession (changes to ensure that could be better).