I want to make it so any object that is clicked on with a tool disappear. Can someone please tell me how to do this...
COMMUNITY QUESTION
How to make any block that is clicked on disappear?
1 answer
dont know if this will be any help but I think it is
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Button1Down:connect(function()
local obj = mouse.Target
obj:Remove()
end)
1 comment
0
Don't spoon feed code without an explanation. Less for those who don't attempt at a request.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Use a ClickDetector inside of a part. See robloxdev.com for documentation. This site is not a place for free scripts. Please post an attempt for help.
Check out the tool and mouse articles on the wiki.