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

Click() TextButton then Clone GUI to Clicker?

Asked by
Moxeh 84
9 years ago

How would I find the person that clicked a TextButton on a SurfaceGUI? Using a non-local script. I should be able to figure out the rest from there.

1 answer

Log in to vote
1
Answered by 9 years ago

Have the SurfaceGUI Adornee set to the part you want it on. Then have the SurfaceGui inside the Player's PlayerGui. Is that enough?

0
It needs to be accessible by everyone in the server and then they will have a personal ScreenGui Clone() to their PlayerGui after they click it. So I don't think so... Moxeh 84 — 9y
1
What Lightpower has said is the only way you'll be able to achieve this, seeing as there's no way to get the user who clicked the button unless the GUI is in each player (where you can then parent up to the player, or use a LocalScript and use the LocalPlayer property of the Players service) DataStore 530 — 9y
0
What I would do to get the SurfaceGui into everyone is by simply putting the SurfaceGui into the StarterGui with the Adornee set by the command bar or by a script inside it. lightpower26 399 — 9y
Ad

Answer this question