Thanks for the reply linkman2004!
I hate to say this, for fear that I'm probably going to sound really dumb, but how do I write the expression to find the correct thumbstick and axis? I assumed the gamepad index was 0 since it's player one.
How about I write what I had as I might not even be close.
Every tick ---- Gun - Set angle to atan(Gamepad.Axis(0, Index?) / Gamepad.Axis(0, Index?))
The manual just says, "Index specifies left analog X and Y or right analog X and Y axes, subject to Key mapping. Axes range from -100 to 100.", which is quite vague.