Make sure your existing script sets the Next Weapon integer to 0,1,2… respectively so both methods can work in tandem.