Well the title say all. I tried this:
script.Parent.Touched:connect(function(brick)
if brick:IsA("BasePart") then
print(tostring(brick))
end
end)
It's only detects unanchored bricks but I'm looking for a script that can detect unanchored bricks if any is touching.
Sure if you use script.Parent.Anchored = false it will print the part's name .How could I make a script detects if an anchored brick, like if one is moving with CFrame.new?
I tried to make it **CanCollide ** to true and to false but not working too.
