My original question was:
Suppose $G$ is a group of order $24$ such that there does not exist any element of order $6.$ Then $G\cong S_4.$
I tried solving the problem as follows:
We note that the number of Sylow 3 subgroups of $G$ is $n_3=1,4.$
If $n_3=4,$ then let $S=\text{Syl}_3(G).$ Suppose $G$ acts on $S$ by left conjugation then this induces a homomorphism $f$ from $G$ into $A(S)$ such that $f(g)=\tau_g,\forall g\in G$ where, $\tau_g(H_3)=gH_3g^{-1},\forall H_3\in S.$ Hence, $\text{Ker}(f)=K=\cap_{H_3\in S}N_G(H_3).$
Now, $|N_G(H_3)|=\frac{|G|}{n_3}=6.$ So, $|K|=1,2,3,6.$ If $|K|=1$ then $G\cong A(S)\cong S_4,$ and we are done. Also, $N_G(H_3)\cong S_3\text{ or } Z_6.$ But if $N_G(H_3)\cong Z_6,$ then $G$ has an element of order $6,$ a contradiction. So, $N_G(H_3)\cong S_3.$ But then, $|K|\neq 2.$ This is because, $|K|=2\implies$ that there $K\unlhd N_G(H_3)\cong S_3$ and $S_3$ has a normal subgroup of order $2.$ This is a contradiction. So, $|K|\neq 2\implies |K|=1,3,6.$ The case when $|K|=1$ is already presented. So, let $|K|=6.$ This means, if $H\in S$ we have, $H_3'\unlhd N_G(H),\forall H_3'\in S.$ But this means, $|N_G(H)|=6\geq 8,$ a contaduction. If, $|K|=3,$ then we know that $N_G(K)/C_G(K)\cong \text{Aut}(Z_3)\cong Z_2\implies 2||C_G(K)|$ as $|C_G(K)|=12.$ This means, $C_G(K)$ has an element of order $2.$ Also, this implies $\exists a\in C_G(K)$ such that $o(a)=2.$ Now, $|K|=3\implies K=<b>$ such that $o(b)=3$ and then $o(ab)=6,$ a contradiction, since $ab\in G.$
But I can't proceed with the case when $n_3=1,$ hence the question in the title. Can someone help me with this remaining case? I think with $n_3=1$ we will get some contradiction, but I don't know how to go about it. Any help regarding this will be gladly appreciated.