im trying to make a certain thing happen if a part touches a part with the same name. For some reason it just wont work, here is the code that I am using: (its a script inside of the part)
script.Parent.Touched:Connect(function(Part) --clash print("touched") if Part.Name == script.Parent.Name then print("e") end end)
It prints "touched", but it doesn't print "e". The Part's name is the same as the script's parent so I don't understand why it won't work.
Thanks for reading!