Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a digging system? [closed]

Asked by 6 years ago

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!

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 Professor_Boxtrot 136 — 6y

Closed as Not Constructive by theCJarmy7, LateralLace, Leamir, and cabbler

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Kblow1 53
6 years ago

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)
Ad