Make sure you use LocalScript also if you want player to touch the brick then you should check if in variable ‘t.Parent’ exists Humanoid. I hope this helps.
Example for on player touch:
script.Parent.Touched:Connect(function(t)
if t.Parent:FindFirstChild("Humanoid") then
print(t)
end
end)
It’s highly not understandable what are you actually trying to achieve to be honest with you. Can you describe your problem a little bit more understandable, please?
If it’s only on the changing of the Position then you could :Connect upon :GetPropertyChangedSignal("Position") and get the Touching parts:
script.Parent:GetPropertyChangedSignal("Position"):Connect(function()
local touching = script.Parent:GetTouchingParts()
for _, v in ipairs(touching) do
print(v)
end
end)
Note: GetTouchingParts does not include non-collidable parts, however there’s a special trick of how you can do so here: