Recall that a polynomial is separable iff it doesn't have duplicate roots in the algebraic closure. Hence it is enough to prove that: $f\in \mathbb{C}[X]$ has only simple roots iff $\gcd_{\mathbb{C}[X]}(f,f')=1$.
Proof: $\gcd(f,f')\neq 1$ iff there is an $a\in K$ such that $x-a|f$ and $x-a|f'$. That is, iff $f(a)=f'(a)=0$. This happens when the first two coefficients of
$$f(x)=f(a)+f'(a)(x-a)+\dots+\frac{f^{(k)}(a)}{k!}(x-a)^k$$
are $0$. Which is equivalent to $(x-a)^2|f(x)$.
As a remark, you can extend this proof to an algebraically closed field of positive characteristic by using the Hasse derivative in the expansion.