Scripting not doing anything

Is the script attached to an active GameObject? Is the “rb” property assigned?