player is not moving

i am in the fifth step of the space shooter tutorial, i am not able to move the player even though the code is correctly written.86946-capture1.png

I thinkMonoBehavior.rigidbody has been depreciated.
Try using GetComponent< RigidBody >() instead.