The basic idea is the same, but be careful of how each verb functions.
"Deride" is transitive: you deride something/someone.
However, "scoff" is intransitive. You scoff AT something/someone. If you write "you scoff something", the meaning is different: you eat something quickly.
Also, "deride" sounds awkward in a colloquial or casual context. It's a formal word.