Help making an Ordering system for an IFE

Hello, as I’m making an IFE I need to make an ordering system.
The thing is that I don’t know how to script it.
This is how it should work:
The user sees the menu and types what he wants in a TextBox. Later, he presses the submit order button and the order is to be sent to a GUI. This GUI is gonna have the name of the user that ordered and also what he ordered.
How could I make this, thanks!

I don’t know and can’t find what IFE means. Is this a system that lets players send text orders to some other player’s gui?

IFE stands for In-Flight-Entertainment. It would be the screen that you have in planes when you travel
And I’m making a food ordering app, and basically what I need help scripting is what you said.

Your presentation on what you’re trying to achieve is a but unclear. I will suggest that you update the thread, possibly with image references.

If you are going to have the user type in what they want, make sure to filter it before it gets displayed on a gui.
As for the system. The way I would do it is to first have a gui either on a part or screen. Have a text box in that gui. Then use a local script to let them press submit. Sending the textbox content to the server with a remote event. Next filter the content to make sure it is allowed to be displayed. After that you can send it via remote events to the ui that will display it.

Yea but what about if there are multiple people ordering at the same time?
How do I make it so the orders stay in a list

Each player should have its own screen to order, by a remote you send that data as a table to save it in a server script table using their UserId as the key and probably storing their seat too?

But, players will join game to be the customers? and the aircraft workers too?
I’ve seen games like “restaurants” that players only works they are not the customers.
NPCs are the customers and they do the order, and the workers/players should do the tasks to accomplish the orders

1 Like

I didn’t get the last part, sorry.
With the first part I’ll try it

Real players will ask for the order, or will be done by NPCs?
Games with this same “theme” usually uses NPCs to ask for the order, not players, thats my question

Real players charrrrrrrrrrrrrr