So when using a click detector with filtering enabled on the click detector doesn't return the player who clicked it. Here's my code,
script.Parent.ClickDetector.MouseClick:connect(function(plr)
print(plr)
end)
The output would be nil when testing this on a server. How would you get the player? I've tried using remote events but obviously I can't get the player so that failed. Is there another way of getting the player or am I just doing something wrong?

5 comments
Should I expect an answer xD Maybe you just can't. If you can't let me know guys :P
Building games with FE is hard at first but once you learn it you will have opened a world of possibilities
I am working on an answer for this but I want to test it so that I know it will work.
It's inside a part with a click detector in the workspace. This is a regular script. I know you can get the player from a touched event so I'm sorta confused on why you can't with a click detector. TheDoubleJ0Jake0Jam
I will try my best to answer this question soon however I have English class rn and I need to get to a laptop to answer it so I will have to wait for another period and lunch to pass before gaining access to a laptop but, I will try my best to answer it.