I am making a game, and there is a SurfaceGUI that everyone can see, and when a button is clicked, it brings up a picture. How can I see what player clicked the button? (So I can set permissions, I only want certain people to be able to click and have it actually do something)
I looked around, and saw something about it needing to be in PlayerGUI, which I'm not sure how that would work..

2 comments
I'd have to edit for each player though right? (Wouldn't be hard, I just don't want to do it if I dont have to) And if the SurfaceGui is in the PlayerGui, how would it know what Part to be on?
SurfaceGuis have an Adornee property. If you set this property to the part in Workspace that you want it to appear on, it will appear on that part. Changing the ' Face' property will dictate which side of the part the SurfaceGui is rendered on. And, what do you mean by you'd need to edit for each player?