local hello = game.Workspace.Hello:GetChildren()
script.Parent.Touched:Connect(function(hit)
for i, v in pairs (hello:GetChildren()) do
v:Destroy()
wait(2)
end
end)
The script wouldn't work, all parts were in Workspace.
local hello = game.Workspace.Hello:GetChildren()
script.Parent.Touched:Connect(function(hit)
for i, v in pairs (hello:GetChildren()) do
v:Destroy()
wait(2)
end
end)
The script wouldn't work, all parts were in Workspace.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You aren't conditioning contact, which means anything that collides with your BasePart is considered a "touch"; the BasePart likely detected the baseplate as a collision and proceeded with the instruction.