I think it was a rubiks cube

Inv:---Submachine gun---

You get really annoyed at the Puzzle box and throw it at the dragon who immediatly solves it and crushes you: