Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to Check Who Click a Button?

Asked by 10 years ago

My current code does everything it needs to, but I need a bit of additional coding to check who was the player to click the TextButton. I don't know how to do that. Calling the fuction, and adding .Parent isn't working, as it would with, let's say, a Touched script.

1 answer

Log in to vote
0
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
10 years ago

Anything dealing with GUIs should be handled locally, so a script running on the client should be detecting all of the events and then requesting for a server-sided script to do something if necessary.

Ad

Answer this question