How do I ignore other bullets in my raycast gun?

I think I know what’s the problem. It’s not the bullets, but rather than the invisible barrel on the gun. Whenever I aim at that barrel, that’s where the bullets start forming a dot. So how do I get all children of my gun tool and make it part of the ignore list?

Solved. I experimented around, and eventually, mouse.TargetFilter worked.

Can you tell me what you did? Sorry if I disturbed anyone. (Nevermind I fixed it)