Hey @LT49SWEGGER! Welcome to the forums!
So all of this stuff is great! Problem is… it doesn’t cover where I’d start with questions. So firstly: Where are you setting the damage variable?
Secondly, does the projectile do less damage the further away it is? What causes variance in damage?
Thirdly, is ten the most it could do? You said the minimum is 1.
We just need some more information, and I’m sure we can get this squared away post-haste!