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

0

Use GetPropertyChangedSignal

0

Got it fixed.