Hi my names is Pixeluted and i want do ray but i got error I new in doing ray
Code
local Ray1 = Ray.new(workspace.Part.Position,Vector3.new(0,30,0))
while wait(0.1) do
local hit = game.Workspace:FindPartOnRayWithIgnoreList(Ray1,{workspace.Part})
if hit then
print("ok")
end
end
Error:
Thank for read