how to run 3rd person automaticaly

I am making a racing game in unity like Temple Run where the player needs to constantly run and collect fruits/ power ups. I am using the 3rd person default construction worker to make this work. But can’t figure out what to tweak in the script to make it run continuously… Help me where exactly I need to change this.

You can edit the script you are using. (ThirdpersonController) and edit the: if KeyGetDown(“W”) and replace it with: if (Driving)

Start of script:
static var Driving = true;

And when you want to exit the level just make a script that tells the static variable to change into: false