Basically, I want to use world.spawnProjectile() in a piece of gun LUA to mimic self:fireProjectile(), as in having the first function spawn in a projectile with the damage set by the gun (like self:fireProjectile), but with different inaccuracies. Help? Also, if anyone knows where the self:fireProjectile() function is located at, that would also be greatly appreciated. Ignore this, some helpful people on the Starbound discord helped me solve this issue.