How to create a PNG / AI only with a script ???????

Hi! I’m a little French who does not know how to program. I want create a harmless NPC/AI. But to complicate the job, I just want to get a script and then put it in my gameobject so that it can be moved. Sorry for my English, I use my knowledge and google translation.
Can you help me???

A French not very strong in programming

Hello! I do not want any animation. I just want the script to make it move and change direction when it encounters an obstacle.