I'm trying to destroy a part when I click it. What I tried to do is below:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Button1Down:Connect(function()
mouse.Target:Destroy()
warn("working")
end)
I'm using a local script but the warn doesn't work and neither does the destroying of the part. I also used a remote event to see if that would help, it accomplished nothing. I'd appreciate any help to this problem.

2 comments
What do you need to work with a mouse click
if mouse.Target then mouse.Target:Destroy() end