function onTouched(hit)
if hit.Parent:FindFirstChild("Key") then
local weld = Instance.new("Weld")
weld.Part0 = hit
weld.Part1 = script.Parent
local weldClone = weld:Clone()
weldClone.Parent = script.Parent
end
end
script.Parent.Touched:Connect(onTouched)
here i have a script that attachs everything but i wanted it only to be a part named lets say key as you can see in line 2 it didnt work maybe im just stupid but yeah
