Improve Ranged Weapon Scripts To Be More CPU Friendly