I'm trying to take the text of a player's textbox and put it into a StringValue. But, for some reason whenever I try to transfer the string, it wouldn't transfer. Trying to find the cause, I set the text to something random and the string worked and it went into the StringValue. I think for some reason when I try to transfer string that has been edited in the textbox it won't work. Do I have to enable/disable a property in the textbox?
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local StartingScreen = script.Parent.StartingScreen
local InformationScreen = script.Parent.InformationScreen
local StarterGUI = game.StarterGui
local TicketSystem = ReplicatedStorage.TicketSystem
local Values = TicketSystem.Values
local Inputs = InformationScreen.Inputs
BI = Inputs.BoardingInput.Text
CI = Inputs.CommentsInput.Text
DI = Inputs.DateInput.Text
DeI = Inputs.DestinationInput.Text
GI = Inputs.GateInput.Text
FI = Inputs.FlightInput.Text
function Confirmed()
print("Confirmed Function")
Values.BoardingV.Value = BI
Values.CommentsV.Value = CI
Values.DateV.Value = DI
Values.DestinationV.Value = DeI
Values.GateV.Value = GI
Values.FLNumberV.Value = FI
print(BI)
end
game.ReplicatedStorage.TicketSystem.TicketConfirm.OnServerEvent:Connect(Confirmed)
