do you know how gamzee got one of john's hammers in cascade i think it was?

I do not, that has not been explained in canon.  It could have something to do with his Jokerkind Strife Specibus or some Time Shenanigans, but again, I’m not sure.