Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to use :FindPartOnRayWithIgnoreList but :FindPartInRegion3WithIgnoreList comes up instead?

Asked by
ym5a 52
3 years ago

Trying to use :FindPartOnRayWithIgnoreList but :FindPartInRegion3WithIgnoreList comes up instead?

local turret = script.Parent
local RayCharles = Ray.new(turret.Position, Vector3.new(0,50,0))

while wait(1) do
    local hit, positon = game.Workspace:FindPartsInRegion3WithIgnoreList()--Won't say anything about FindPartOnRayWithIgnoreList
end

https://prnt.sc/1l43rn4

0
FindPartsOnRay is depracated, use the new raycast system instead (https://developer.roblox.com/en-us/api-reference/function/WorldRoot/Raycast) WoTrox 345 — 3y
0
Ok Thanks ym5a 52 — 3y

Answer this question