I have an array with all the weapons the player can scroll through saved to it, mouse wheel up goes to the current index +1 and scrolling down goes to the current index -1. This doesn't work though, scrolling up past the last value in the array makes the value zero then loops back to the bottom, scrolling down past the first value makes the value zero and doesn't loop back to the top. How do I make this work?