I created a Server Script that will check if a player clicks on a part, the code was working yesterday, but now it doesn’t detect when a player clicks the part. My filtering enabled was off at the time, but it still doesn’t work even if I set it to false.
for i,v in pairs(Part:GetChildren()) do
print("Parts") --prints "Parts x NumberofParts"
v:WaitForChild("Click").MouseClick:Connect(function(Client)
print("Click",Client.Name) --does not print
end)
end
Edit:
I have identified the issue, I disabled a Local Script that utilizes a player’s mouse and ContextActionService, if the local scipt is enabled, all click detectors don’t seem to respond to clicks. Is this a bug?
The max activation is set to 10. The click mouse icon shows up when I hover over the part, but the server script does not detect when the part is clicked. I’ll have to disect my local script to find out what’s blocking the click detectors from communicating with the server.