trying to make a touched function that before it prints "hi" it checks if 'hit' has a child named Break, but nothing works. how can i fix this problem? someone? Dora? Boots? Diego??
script.Parent.Touched:Connect(function(hit)
if hit:FindFirstChild("Break") then
print("hi")
end
end)

4 comments
is break a child of the part?
no its a child of whatever's touching the part
You might have to do hit.Parent:FindFirstChild because you want to check a model right?
Could you take a picture of your explorer?