Just a wild thought, I wonder if the bolts that hold the motor to the frame are loose. If the battery is connected to the frame, a poor connection between the engine and frame will exhibit this condition.
It may have just been a stroke of luck that your friend got it going so quickly. The motor might have made a good frame to motor connection when you tried starting it. Check all your connections, ie. battery to pos lead, pos lead to solenoid, solenoid to starter, motor to frame, frame to neg cable, neg cable to battery (or jumper cables). Clean and retighten connections.
It may have just been a stroke of luck that your friend got it going so quickly. The motor might have made a good frame to motor connection when you tried starting it. Check all your connections, ie. battery to pos lead, pos lead to solenoid, solenoid to starter, motor to frame, frame to neg cable, neg cable to battery (or jumper cables). Clean and retighten connections.