script.Parent.ClickDetector.MouseClick:Connect(function(player) print("hay") end)
This simple Local script doesn't work. No errors, nothing. It's like I'm not clicking at all, but I am.
Here you go. Make sure that this script is NOT a Local Script and is put inside of the ClickDetector which should be inside of the part.
script.Parent.mouseClick:connect(function() -- LUA Script Noticing the click print("hay") -- Script responding to the click end)
Hope this helps!