Let $S=\{0,1\}$, the Sierpiński topology on $S$ is the collection $\{\emptyset,\{1\},\{0,1\} \}$.
Let $X$ be a topological space,
$M$ be a sequentially closed subset of $X$ and $M$ is not closed, then the function$$f:X\to S,f^{-1}\{0\}=M$$is sequentially continuous and $f$ is not continuous.
So if we have an example of sequentially closed but not closed set, then we can get an example of sequentially continuous but not continuous function.
The following is an example of a sequentially closed but not closed set.
Let $X=\ell^2$ and let $M=\left\{n^{1 / 2} e_n: n \geq 1\right\} \subseteq X$ with weak topology. We will show that $0\in\overline M$ but that there exists no sequence $\left(x_n\right)$ with terms in $M$ such that $x_n \to 0$ weakly as $n \to \infty$.
Let $U=\left\{x \in \ell^2:\left|\left(x, y_k\right)\right|<\varepsilon\right.$ for $\left.1 \leq k \leq K\right\}$ be a basic weakly open neighbourhood of $0$. If $M \cap U=\emptyset$ then for every $n \geq 1$ there exists $k_n \in\{1, \ldots, K\}$ such that $\left|\left(n^{1 / 2} e_n, y_{k_n}\right)\right| \geq \varepsilon$. Thus $\left|y_{k_n}(n)\right| \geq \varepsilon n^{-1 / 2}, n \geq 1$, and hence
$$
\sum_{k=1}^K\left\|y_k\right\|_2^2 \geq \sum_{k=1}^K \sum_{n=1}^N\left|y_k(n)\right|^2=\sum_{n=1}^N \sum_{k=1}^K\left|y_k(n)\right|^2 \geq \varepsilon^2 \sum_{n=1}^N \frac{1}{n}, \quad N \geq 1
$$
which is absurd because the left-hand side is finite and the right-hand side is unbounded as $N \rightarrow \infty$. It follows that $0$ lies in the weak closure of $M$.
Suppose that $(x_n)$ is a sequence in $M$ which converges weakly to some limit. Then by a standard application of the Uniform Boundedness Principle the sequence $(x_n)$ is norm-bounded and hence must be eventually constant. Since $0 \notin M$ there exists no sequence in $M$ which converges weakly to $0$.