Shoot a spider web with E

Could someone make it so when you press e no matter what weapon you’re holding, it shoots a spider web like Spiderman’s Gun, and also make it so you always have a mario hat on?

Could someone help me do this please?