How Cree an order bodyguard and follow

I want Cree a bodyguard command(order) so that the character who spawn