How can i attach a ball to my player hand and make him throw it . basically i want to create a baseball/cricket like game . and i want to use the ball to drive my Ai

i have done all the basics can you guide me ?