For Example When A Player Clicks A Click Detector, I Want To Make The Script Check Who Clicked It Without The LocalPlayer Value
COMMUNITY QUESTION
Sup Guys! I Have A Problem, Can You Solve It?
1 answer
Server Script
script.Parent.ClickDetector.MouseClick:Connect(function(hit)
print(hit.Name)
end)
This should be what you're looking for, the "hit" for a clickdetector is the player in game.Players
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
the MouseClick event has a PlayerWhoClicked parameter