The context of the following conversation is Kai has to give a presentation in their class but Kai was not prepared.  Therefore, Kai makes things up as they go along.:
Kai says I should have studied more..
The friend responds Why, what happened?.
Kai responds I wasn't prepared to give a presentation.
The friend responds What did you do then?.
Kai responds I just made stuff up along the way..
The friend responds It sounded okay though, maybe it will work out..