So I took this raycast script from the wiki. How can I do it so that it ignores the descendants of a model named "Potato"?
local ray = Ray.new(
Weapon.Handle.CFrame.p, -- origin
(mouse.Hit.p - Weapon.Handle.CFrame.p).unit * 500 -- direction
)
local character1 = game.Players.LocalPlayer.Character
local model = ?
ignore = {character1, model}
local hit, position = Workspace:FindPartOnRayWithIgnoreList(ray, ignore)
Thanks!
