Q.caring for an aloe cutting
Was given an aloe plant from original plant. Was doing fine but now wilting. How do I help it?

Aloe vera cuttings, with their high moisture content, rarely become viable plants. As you discovered, it usually leads to a rotten or shriveled leaf. I would see if you could get an aloe pup from your friend's plant instead. You can read more about propagating from aloe pups in the following article:
https://www.gardeningknowhow.com/houseplants/aloe-vera/aloe-plant-propagation.htm