Hi,
Recently I've been messing around with scripts, and now whenever I am on an active viewport and I right click max automatically crashes. I am able to right click outside of the active viewport and max won't crash. Not sure how to fix this.

EDIT: think i have pintpointed it to a script that included the ribbon.