I am making a rube goldberg machine and I want a ball to roll into something then it dissapears but when I add dissapearing on touch scripts they just dissapear before they get touched by the ball. Please help my dudes
COMMUNITY QUESTION
How do I make something dissapear when a certain block touches it?
2 answers
script.Parent.Touched:Connect(function(touch)
touch:Destroy()
end)
If I understand you, you want a brick that destroys a ball.
Here is an easy code:
local DestroyingBrick = game.Workspace.DestroyingBrick --Our destroying brick that detroys balls
local NormalBall = game.Workspace.NormalBall --Our normal ball that gets destroyed
script.Parent.Touched:connect(function() --something touches the destroying brick
Ball:Destroy() --Ball gets destroyed :D
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
ok, can you at least try at first, then post you attempt, if it doesn't work post what is erroring/ wrong with your script and we'll see if we can help, and I feel this is brought up a lot but, this isn't a request site, its not "scriptingrequesters"
Scripting Helpers is NOT a request Site!!!!
Read the rules please C;