Is there a way to allow players to copy text from a SurfaceGui?

I wanted to make it possible for a player to copy the text on a TextLabel inside a SurfaceGui in a part, then be able to paste it anywhere. I can’t really see any solutions for this and don’t really expect it to be possible, but it’s worth a shot to ask here. How would I do this if it is possible?

1 Like

You can make a dedicated surface gui button to copy and another to paste. Store the string in the player. You could also set up a keybind to copy whatever the mouse is pointed at. If it is a text box, they also may be able to highlight and copy/paste things themselves.

You’ll need to use TextBox’s for the copying functionality. You can automatically make the user select the text inside the TextBox but they’ll have to manually copy & paste.

1 Like

Tyyy!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.