local player = game.Players.LocalPlayer local mouse = player:GetMouse() local down function clickObj() mouse.TargetFilter = workspace.Select if mouse.Target ~= nil then local mtarget = mouse.Target if mtarget.Name == "GrassBlock" then mtarget:Destroy() end down = true mouse.TargetFilter = mtarget end end mouse.Button2Down:connect(clickObj) function mouseMove() wait(0.001) game.Workspace.> Select.Highlight.Position = Vector3.new(mouse.Target.Position.X, mouse.Target.Position.Y, mouse.Target.Position.Z) end mouse.Move:connect(mouseMove)
the output says select isnt a part of workspace
are you sure select is part of workspace if it is try adding FindFirstChild
mouse.TargetFilter = workspace:FindFirstChild("Select")