A way to get player TextBox inputs from scripts

Hey, ehhh… I know the title sounds weird, but it’s kind of hard for me to describe stuff with it.

Anyways, I am trying to make the server get the text of a test box but I can’t because it’s local. Anyway to fix it?

Use the TextBox.Text property, which evaluates to the text of the text box.

If you want the server to get the text of a text box, you’ll need to pass the content from the client to the server through a remote event or request it directly from the client (I recommend using my Postie module for this instead of RemoteFunctions to prevent infinite yielding) since GUI is (hopefully) handled completely on the client.

3 Likes

I will check it out, thanks.

Edit: Fixed the horrible spelling of my post… :stuck_out_tongue: