Roxy is obtained by entering the code hobbididance, then planting the seed it gives you.
Log in to Moshi Monsters and type the code into the code box. Then go to your garden and open your sack — you will find a special seed waiting there. Plant it, and when you return the following day Roxy will be in your garden.
Seeds in Moshi Monsters grow in real time rather than in-game time, so there is no way to rush it. Planting before you log off is the only thing you need to remember.
Codes are often single-use or time-limited, and lists of them circulate widely. If a code is rejected, it has most likely expired — no third-party tool will fix that, and sites claiming otherwise want your password.