how can i make my player run by his self

how can i make my player run by his self like in this gamehttp://www.youtube.com/watch?v=cVrkvmCDhgk

You write:

RunForward();

instead of:

if (Input.GetKey(KeyCode.RightArrow))
    RunForward();