Completing my run scipt.

Here is my java : function Update () {
if (Mathf.Abs(Input.GetAxis(“Left Shift”)) > 0.1);
(other.CharecterMotor);
other.CharacterMotor.MaxForwardSpeed = 35;
}

Unity keeps telling me that it other is an unknown identifier. I don’t know what do do about it now.

Youe ‘player’ gameobject needs both the Character Controller and CharacterMotor scripts applied.
You’ll then then to grab the Character Motor script (‘component’) by the following:

void Start(){

CharacterMotor cm = GetComponent("CharacterMotor");
}

Now change other.CharacterMotor to ‘cm’ in the update function like so:

 cm.MaxForwardSpeed = 35;