My GetTouchingParts script suddenly doesnt work anymore, but I probably messed it up, so I made something in a new game, a part named test touches two other parts, named part. This is the code I used:
local test = game.Workspace.test
for i,v in pairs(test:GetTouchingParts())do
print(v.Name.." touched")
end
for i,v in pairs(test:GetConnectedParts())do
print(v.Name.." connected")
end
and this is the output I got:
test connected Part connected (x2)
Can anyone tell me what I did wrong here?

2 comments
What are you trying to accomplish with that script?
I just want it to tell what parts it is touching, I can get them with connectedparts, but then test itself is in the table