When you rescue a bearded dragon who appears to be very bad off, it is VERY IMPORTANT that you don't rush with its recovery. It took a long time for the beardie to get sick and it will take a long time to get it healthy again.
NEVER IMMEDIATELY FEED A STARVING OR SICK BEARDED DRAGON INSECTS!! EVER!!