Collision removed from projectile and added to the spline so the number of hits can be counted. As soon as the player get hit by a projectile, it calls the function shake that for the moment does nothing. When player get hit 5 times, it is destroyed.