Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Click() TextButton then Clone GUI to Clicker?

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

✓ Accepted answer

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

3 comments

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...

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)

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.