What do you want to achieve?
So I’ve recently made my own fps system with its own damage system and I’ve coded in a damage gui to see how much damage a shot deals.
What is the issue?
The problem I am experiencing is when I hit a headshot on an entity, the shot seems to hit 2 or 3 times which I do not remeber putting in the script. I have a system where if the shot hits the head it will times the damage by 1.5, but not make the shot hit twice.
What solutions have you tried so far?
I have a feeling this is to do with my ‘Bullet.Touched:Connect(function())’ as it seems to be hitting the head mulitple times and muliplying the damage.
I’ve tried turning CanTouch off when a shot hits as well as Anchoring the bullet with CanCollide off to see if it fixes this bur nothing seems to be stopping this.
If you wish to look at my code I can send it if needed to figure this one out. But for now I can show this gif as a refernce to whats happening.
I assume you’re tweening the bullet to the raycast HitPosition, but using .Touched because you casted 1 ray. You can send very short raycasts ever frame and update the bullets position until it hits something.