Danny was waiting for his friends to get home from school.
His friends had come to the house, but he slept through their knocks.
Danny fell asleep waiting for his friends.
Danny went running while waiting for his friends.