This is one of those heartwarming stories ya really like to see.
Bad guy enters residence through a window. Produces a gun and demands money from the goodguy inside. Goodguy declines the invitation and flees the apartment to the courtyard where a party is underway chased by the badguy. Badguy demands money from the party goers who again decline. Bad guy pistol whips a party goer. Other partygoers counter with a baseball bat and two-by-four upside the head. Pistols are dropped and badguy finally escapes his beating. He makes it to his car and escapes. Police find the guy nearby and call an ambulance. One report said he's in critical condition.
At the very least he'll have a long time to contemplate his career choice.
Story here and here.