local myRay = Ray.new(
Vector3.new(script.Parent.Position),
Vector3.new(48,20,20)
)
local obj, endPoint = workspace:FindPartOnRay(myRay)
if obj then
print("HIT!")
else
-- nothing
end
Hi guys! I have this script in a brick and when I move it around near things it still does not print "HIT!" - any ideas why?
Thanks
