My projectile duplicates on my client, and the Health variable gets subtracted twice, but when shot on server the projectile works fine

You mean like this? This subtracts the health twice as well.