How can i save a textbox when i press the textbutton

How can i save a textbox when i press the textbutton. Just i have a gui with textbox and i need to save a value from this textbox when the player press the textbutton but i dont’t know how i can do this.

3 Likes

You can send a :FireServer() function to a RemoteEvent and receive it in a normal script and then use DataStoreService to save the data of the textbox to roblox’s free “database”/store, since datastores can only be edited from the server. Also, you will need to use a localscript for the textbox text getting because PlayerGUI does not replicate to the server.

1 Like