Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

airport screen for my roblox game?

Asked by 3 years ago

hello all im trying to make an airport game but i cant get my code to work what im trying to do is when the player sits in the check in seat a GUI pops up where they can type gate number departing time etc and when they press submit it puts the text on the screen behind them here my code for one of the boxes

script.Parent.MouseButton1Down:connect(function()

local screenbrick = script.Parent.Parent.Parent.Value.Value.Screen

    local TextBoxObject = whatever

    TextBoxObject.Text = ("test") --> simple    

    screenbrick.SurfaceGui.Frame.DepartureTime.Text = script.Parent.Parent.DepartureBox.Text

end)

but when i run the code it just says enter text here on the screen behind me

0
'DepartureBox' Where is this named at? jordysboy 53 — 3y
0
Is this a server script or client script? Where is this script located? COUNTYL1MITS 312 — 3y

Answer this question