The racket you're hearing is almost certainly the result of this damage. The extent of the damage will determine the necessary repairs. It's likely to be very expensive and could include:
* Bearing damage: Crankshaft, connecting rod, and camshaft bearings are likely to be severely worn or destroyed.
* Cylinder wall scoring: The pistons rubbing against the cylinder walls without lubrication will likely have scored them.
* Damage to the crankshaft: The crankshaft could be bent or damaged.
* Valve damage: Without oil, valves can be damaged.
While a rebuild might be possible, depending on the extent of the damage, a replacement engine might be more cost-effective. You need to have a qualified mechanic inspect the engine to determine the extent of the damage and the best course of action. Driving it any further will only cause more damage.