What do I do to fix a no renderer attached to the Enemy game object error?

MissingComponentException: There is no ‘Renderer’ attached to the “Enemy” game object, but a script is trying to access it.
You probably need to add a Renderer to the game object “Enemy”. Or your script needs to check if the component is attached before using it.
AIsimple.Update () (at Assets/AIsimple.js:20)
How do I fix this???

This isn’t the kind of error where you put the wrong symbol. It’s the kind where the computer knows what you’re saying, and what you’re saying is wrong.

Look at the Enemy in the Inspector. Does it have a renderer? It will be named either MeshRenderer, or SkinnedMeshRenderer. If you don’t see one, hopefully that error now makes perfect sense to you.

The renderer is probably in one of the children. If so, you have to tell the computer how to find it. Something maybe like enemy.Find("body").renderer… (look up transform.find to see how this works. It’s different from gameObject.find.)