heres the script
script.Parent.Touched:Connect(function(part) local h = part.Parent:findFirstChild("Humanoid") local g = part.Parent.Parent:findFirstChild("Head") local c = script.Parent:GetConnectedParts() local v = c:findFirstChild(part) if h==nil then if g==nil then if v==nil then end end end end)
heres the error message
20:34:19.731 - Workspace.Part.Script:6: attempt to call method 'findFirstChild' (a nil value)
thank you for your time