@Arrow once you have the adjunction between monoids and $R$-algebras, you can use that to construct the arrow $RG \to \operatorname{Hom}_{R\textrm{-}\mathbf{Mod}}(R^{(X)},R^{(X)})$ from an arrow of monoids $G \to \operatorname{Hom}_{\mathbf{Set}}(X,X)$:
Just take the compose $G \to \operatorname{Hom}_{\mathbf{Set}}(X,X)$ with the monoid homomorphism induced on endomorphism monoids by the free module functor $\operatorname{Hom}_{\mathbf{Set}}(X,X) \to \operatorname{Hom}_{R\textrm{-}\mathbf{Set}}(R^{(X)},R^{(X)})$ and then apply the adjunction to get an $R$-algebra morphism $RG \to \operatorn…