Is this possible to build with arduino

also how hard would it be to write the script?