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:
local text = script.parent.Text
script.Parent.Parent.TextButton.MouseButton1Click:Connect(function()
script.Parent.Parent.parent.Frame.BackgroundTransparency = text
script.Parent.Parent.parent.Frame3.BackgroundTransparency = text
script.Parent.Parent.parent.Frame2.BackgroundTransparency = text
print("this should have changed")
print(text)
end)
