How to Detect Who Clicked a GUI

I need to detect who clicked a GUI in a regular script, not a local script, without using remote events. I am using script.parent.mousebutton1click:connect(function()…

1 Like

You don’t. You do it on the client, where you already know who clicked it — the local player. Use remotes.

1 Like

I’m sorry but I have not used remotes before because I am fairly new to the ROBLOX Scripting World. How would I go about doing that.

May I ask why you want to do this as there is no server gui.

The scripting support section on the Forum is for assist fixing a script, not writing whole scripts. Also, please make sure you follow the templates when creating a post. Anyway, this should help: A better way to understand Remote Events and Remote Functions

1 Like

I want it so that if someone specific clicks a button a countdown starts on the GUI.

If you go to #collaboration:recruitment you can hire a scripter to do this for you.

Yeah…no thanks. I’d much rather do this on my own.

1 Like