local function h(h,f,j)local H=f-h local B=Ray.new(h,H.Unit*math.min(H.Magnitude,999))return workspace:FindPartOnRayWithIgnoreList(B,j or{},false,true)end
-----------------------
--| Local Functions |--
-----------------------

local function CastRay(fromPoint, toPoint, ignoreList)
	local vector = toPoint - fromPoint
	local ray = Ray.new(fromPoint, vector.Unit * math.min(vector.Magnitude, 999))
	return workspace:FindPartOnRayWithIgnoreList(ray, ignoreList or {}, false, true)
end
