Inquiries on installing script on Atom

Hi, I have been trying to install script in atom, but keeps failing. what should i do ? Please

First, does your script work in terminal? Open terminal in Atom and run your script.