Original: Assuming the form of an old woman, she warned Arachne not to offend the gods.
Simplified: So she appeared to the girl as an old woman, and warned her not to offend the gods.