hi im a beginner scripter i started like 3-4 days ago and i was trying to script a part that unanchors parts from other model but it doesnt work here is the script
local UnAnchorer = script.Parent function UnAnchor(Part) local hum = Part.Parent:findFirstChild("Humanoid") if (hum ~= nil) then local Parts = workspace.Parent.UnAnchorParts:GetChildren(Part) Parts.Anchored = false end end UnAnchorer.Touched:Connect(UnAnchor)

2 comments
Change the function to script.Parent. Sorry for the heirachry error. My bad. Again, hoped this helped.
doesnt work