You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to send text from a screenGUI Textbox and when i click confirm it will send the data to ServerStorage inside of StringValues -
What is the issue? Include screenshots / videos if possible!
when I test my scripts and go into studio test server mode the stringvalues are empty -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Tried looking up youtube tutorials and the ROBLOX devforum and educate website to no avail
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
This is the local script inside the GUI
local RE = game:GetService("ReplicatedStorage"):WaitForChild("BoardingPass")
local callsign = nil
local deptime = nil
local destination = nil
local gate = nil
local departure = nil
local ConfirmButton = script.Parent.Background.Bottom.Confirm
local callsign_value = script.Parent.Background.Callsign:WaitForChild("Body")
local deptime_value = script.Parent.Background.Time:WaitForChild("Body")
local destination_value = script.Parent.Background.Destination:WaitForChild("Body")
local gate_value = script.Parent.Background.Gate:WaitForChild("Body")
local departure_value = script.Parent.Background.Departure:WaitForChild("Body")
ConfirmButton.MouseButton1Down:Connect(function()
callsign = callsign_value.Text
deptime = deptime_value.Text
destination = destination_value.Text
gate = gate_value.Text
departure = departure_value.Text
RE:FireServer(callsign, deptime, destination, gate, departure)
end)
This is the serverscript located in the folder with the stringvalues in ServerStorage
local RE = game:GetService("ReplicatedStorage"):WaitForChild("BoardingPass")
RE.OnServerEvent:Connect(function(plr, callsign, deptime, destination, gate, departure)
script.Parent.Callsign.Value = callsign
script.Parent.DepTime.Value = deptime
script.Parent.Destinaton.Value = destination
script.Parent.Gate.Value = gate
script.Parent.Departing.Value = departure
end)
this is just a screenshot relating to where everything is located and the naming of objects
If anyone is able to help me it would be greatly appreciated

Please migrate the script to SeverScriptService and also change the directories to the string objects. Good Luck!