Okay so the basic code from the roblox wiki
local ray = Ray.new(player.Lightning.WorldPosition.WorldPosition,player.HumanoidRootPart.CFrame.lookVector.unit*100)
local Part,Position = game.Workspace:FindPartOnRayWithIgnoreList(Ray,{player,game.Workspace.Noncollide})
I'm trying to make the raycast ignore a folder in workspace called "Noncollide" but the output says this "21:51:30.115 - Unable to cast Dictionary to Ray".
Does anyone know how to make the ray ignore multiple parts?

2 comments
you make
raybut then you useRayin the method?Oh that was a mistake, i meant to put ray as in lowercase.