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

I can't fit my title into the title, so the titles in the post?

Asked by 1 year ago

How do I make something disappear when someone touches is, but it only disappears for the user that touches it?

1 answer

Log in to vote
0
Answered by 1 year ago

Step 1) Make a LocalScript in StarterGui.

Step 2) Open the LocalScript.

Step 3) Enter the following code: (REPLACE game.Workspace.MyPart WITH YOUR PART'S PATH!)

local part = game.Workspace.MyPart --REPLACE THIS WITH YOUR PART'S PATH!

part.Touched:Connect(function()
    part:Destroy() --you can change this to something else, such as part.Transparency = 1
end)
Ad

Answer this question