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

When the two parts touch, nothing happens! Help?

When the note touches the part, it doesn't destroy it.

script.Parent.Touched:Connect(function(touched)
	if touched.Parent == workspace.Note1 then
		script.Parent:Destroy()
	end
end)

What am I doing wrong?

1 answer

✓ Accepted answer

Try this one

script.Parent.Touched:Connect(function(touched)
if touched == game.Workspace.Note1 then
script.Parent:Destroy()
end
end)

It works for me

1 comment

0

sorry that i accepted so late.. i ended up making a faster method cause that worked but wasn't fast enough.

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