Error from gun.

Glad you got it sorted but for the future, despite you making a 2D game (probably), the problem at hand was not related to a 2D problem. For scripting questions and errors, please use the scripting forums as well as code-tags when posting code.

The 2D forums are for 2D specific features and issues surrounding them and not any issue you encounter while making a 2D game i.e. audio, UI, exceptions etc. Those all have dedicated forums.

Good luck.