Text box script wont change value

here is my script

script.Parent.InputChanged:Connect(function()

game.ServerStorage.LucidsAirportSystems.FlightInfo.FlighNumber.Value = script.Parent.Text

end)

Isn’t it FlightNumber.Value = script.Parent.Text

1 Like

no that isnt what it is supposed to be

If this is a ServerScript parented inside the Gui, the changes will not be replicated across your screen

In order to fix it, change it to a LocalScript & instead put the FlighNumber Value in ReplicatedStorage

but it needs to be across all clients

I don’t know why you’re wanting to change the value every time the Input is detected, it’d be way easier just to reference the Value inside ReplicatedStorage & detect when it’ll change using the Changed event

1 Like