local id = script.Parent.Parent.idInput
function exc()
print(id.Text)
end
script.Parent.MouseButton1Click:Connect(exc)
That is what I already tried. When I click the button, It only prints the default text in the textbox. If I change it, it still prints the default

2 comments
Use GetPropertyChangedSignal
Got it fixed.