I've tried to get the text of a box using textbox.Text. After some debugging I found out the text it gets is just blank space. The local script is in a "Submit" button that sends the text through a remote event.
local submit = script.Parent
local textbox = game.StarterGui.ScreenGUI.Tab:WaitForChild("input")
local input = textbox.Text
local remevent= game.ReplicatedStorage:WaitForChild("RemEvent")
submit.MouseButton1Click:Connect(function()
remevent:FireServer(input)
print(input)
end)

3 comments
It makes a lot of sense but still didn't work ???? I still get blank space in the output. I'm using print(input) to check
It's me again, I fixed it! All I had to do is change game.StarterGui.ScreenGUI.Tab:WaitForChild("input") to script.Parent.Parent:WaitForChild("input") Your answer also helped me A LOT!
Glad to be able to help! ????