How to make RayCast ignore everything except parts with a specific name

Hello! I am kinda new to raycasting and i would like to know how to make raycast ignore everything except parts with specific name.

Nevermind, i made it working somehow.