Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a digging system?

So how do I make a digging system where you need a shovel and when you dig the part goes down a little? I would be very happy if you help!

1 comment

0

Well, if you want to create a blocky digging system, you can make something similar to the roblox delete tool, where it would delete the part you click, but probably best to check if the part you're clicking on is a diggable block

1 answer

✓ Accepted answer

Insert a ClickDetector inside of your part and also a Script and put this inside of the script. This is a very simple version. Its not gonna do the checks to if you have a shovel. Im not making your game for you.

function Click()
	script.Parent:Destroy()
end

script.Parent.ClickDetector.MouseClick:Connect(Click)

This discussion is preserved as it was. New answers, comments, and votes are closed.