why the heck is this stupid textbox not detecting the input?
I am making a GUI settings interface, and I want to make it so that the user can change the background transparency. I made the script, and it said it had no errors, but the code did not work. I added a text button and added that. still not working. I added a print function that printed the text, I looked at the output, and no print with the value in the textbox. help. here is the stinking code:
1 | local text = script.parent.Text |
2 | script.Parent.Parent.TextButton.MouseButton 1 Click:Connect( function () |
3 | script.Parent.Parent.parent.Frame.BackgroundTransparency = text |
4 | script.Parent.Parent.parent.Frame 3. BackgroundTransparency = text |
5 | script.Parent.Parent.parent.Frame 2. BackgroundTransparency = text |
6 | print ( "this should have changed" ) |