Parsing Error and Unexpected symbol

I keep getting error’s saying "Parsing Error and “Unexpected Symbol” I don’t know what I am doing wrong here, please help. Thank You

Two things.

First, there isn’t a class called “rigidbody” by default, classes are case sensitive and so you need to specify the correct casing when using.

change rigidbody to Rigidbody ← big “arrrr”.

Second, the method AddForce is a method, at the very least it requires parenthesis and one Vector3 parameter.

example change:

GetComponent<Rigidbody>().AddForce(transform.formward * moveSpeed);

Just an example, tailor to your needs and variables(like input?).