Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Button prints TextBox data, but only default?

Asked by
uui 35
3 years ago
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

0
Use GetPropertyChangedSignal SilentsReplacement 468 — 3y
0
Got it fixed. uui 35 — 3y

Answer this question