I (think) i fixed it, and i added a flicker effect when it hits the enemy, and when it flickers, it temporarily becomes invulnerable :D (i can remove it if you want)