Trash Barrel Sneak Attack Spear

I was walking down the walkway and a trash barrel landed on me which was dumb, but then I got destroyed into the pit of death.