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?
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?
Try this one
script.Parent.Touched:Connect(function(touched)
if touched == game.Workspace.Note1 then
script.Parent:Destroy()
end
end)
It works for me
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
sorry that i accepted so late.. i ended up making a faster method cause that worked but wasn't fast enough.