Sorry for the spam.
I am making a vent that unanchors itself when it is touched, but the script automatically enables itself because it is touching the surrounding walls. Here's what I have so far:
fall = script.Parent
fall.Touched:Connect(function()
fall.Transparency = 0
fall.CanCollide = true
for _, object in pairs(fall.Parent:GetChildren()) do
object.Anchored = false
end
end)
How would you make it so that the union only unanchors when a player or humanoid touches it and not all parts? Hopefully that made sense.

1 comment
This isn't an answer, but I vaguely remember trying to make a button and putting Humanoid into a parenthesis. It made the button only work when stepped on by a humanoid. Beginner's luck, I guess.