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