Kurt has it. Legs aren't broken, it's just a very sick little toad. There could be several reasons for this but from the sounds of things this one is pretty far gone and there's not much you could do for it without some vet intervention, and even then it's unlikely to recover.