this is my code thingy
local function UnAnchor()
for _, v in pairs(script.Parent:GetChildren()) do
if v.ClassName == "Part" then
v.Anchored = false
end
end
end
script.Parent.Touched:Connect(function()
print("Meteor was touched by player")
UnAnchor()
end)

8 comments
please elaborate
Not entirely sure what you're asking for?
i need to make it so when the players touch the map the meteors unanchor
What is the script's parent?
What is the script's parent?
how do i know that
we do not know what the 'Map' is, and also, where is your script located? I was assuming in the last script I gave you which you pasted.. script.Parent is the map.
Instead of :Connect(function() just do script.Parent.Touched:Connect(UnAnchor) if the script parent is a part or whatever it is you want