Raycast equals nil error

RaycastModuleV4 or ClientCast will not work for me. The RaycastModule fires raycasts on the server, which any player above 200 MS won’t be having a good time at my game.

ClientCast is fine, but its not completely accurate. I tried using hitboxes on my own using attachments as hitboxes, but I ran into a problem.

When I built a ray, I used Vector3.new and put 0,0,0 as the directions. The output says nil as the raycast, but I need the raycast to be exactly at the attachments to create a hitbox.

Any help would be appreciated!