<human>: Can you give me a shortened version of the text?

For reference, I'm in high school currently. Also, unlike most TIFUs, this actually happened today.

It started off as a normal day, but during my break, my friend asked me to buy him a cookie. My school's cafeteria has a line system, where we pick up our food and put in our PIN at the end of the line to pay for our food (our money is already in an online account). He's my friend, so I thought, why not? Now, my other friend was also coming with me, as he wanted to buy something as well. It turned out, he wanted a cookie too. He came up with what he thought was a great idea. Take one cookie out of its' wrapper and put it underneath another cookie. We get 2 cookies for the price of one, and nobody will ever notice! I saw a teacher looking at us, so I told him to put it back. But no, he wouldn't listen. He took it to buy, and the lady took him and me down to the office, where I got a lecture and had to be (embarrassingly) picked up by my parents. This wasn't even my idea. My friend did everything, and I just got caught with him.
<bot>: Friend comes up with plan to take cookie. Plan doesn't work, we get caught, but I didn't do anything.