Help - Sending information from a UI to a display part

Hello all!

I have recently been working on a school game and I’ve ran into a few scripting hurdles that are important to the gameplay.

I am currently struggling with being able to send text from a UI (which you can see me filling in below) onto the display board which I also show. Each text field will fill the appropriate fields on the display boards and as soon as you select which period you want the timetabled lesson to show as it sends off and displays it. However, I am unsure where to start with this scripting so I was wondering if anybody could point me in the right direction!

I have searched the dev forum and Youtube far and wide and I can’t find anything like it anywhere, but I am not sure if I am wording it completely wrong; so please help me out!

Below I have attached a video if my explaining is a bit confusing!

robloxapp-20210523-2257020.wmv (919.6 KB)

Note: I am not asking you to write full lengths of script for me, I would like it if you gave me instructions on how I could go about this as I want to improve on my own skills and further my developing knowledge.

Thank you everyone, and I hope you all have a great day. :slight_smile:

You can try looking into Remote Events and Remote Functions. This is an important connection between the server and the client. Remote Events allow a one-way communication from server to client or client to server. Remote Functions allow two-way communications between the server and the client. For your case, you could use Remote Events and send the text in the UI as arguments to send into the server. Just use this to get started:

Good luck on your game!

1 Like

Thank you so much for explaining this! I always got scared to get into these types of functions because I never knew what they did and you explained this really well so thank you :)!

1 Like

These functions are actually very important for making games, so grasping the knowledge on these functions will certainly make your game development a lot easier. Good luck!