How can I raycast a part

you might find something in this post helpful