So what I have is this:
while wait() do local ray = Ray.new( workspace["Test Dummy"].Torso.CFrame.p, (workspace["Test Dummy"].Torso.CFrame.p - workspace["Test Dummy"].Torso.CFrame.lookVector).unit * 100 ) local hit, position, normal = workspace:FindPartOnRay(ray, nil) print(hit) end
I was wondering how I would detect if the dummy is facing the character? What that code does is that it only prints Right Arm for some reason.