Scanner Script error, can anyone please explain me what is the error in the script?

ss1 ss2