How to walk where facing rear

Okay, can you show me how I can add # to the script, for an example