local function z(z,i,P,J)local L=Ray.new(z,i)return Workspace:FindPartOnRay(L,P,false,J)end

local function Cast(origin, direction, ignoreDescendantsInstance, ignoreWater)
	local castRay = Ray.new(origin, direction)
	return Workspace:FindPartOnRay(castRay, ignoreDescendantsInstance, false, ignoreWater)
end
