script.Parent.Parent.TextBox.MouseButton1Click:Connect(function() local textbuttoninput = script.Parent.Parent.TextBox.Text local sound = script.Parent.Parent.Parent.Sound sound.SoundId = 'rbxassetid://'..textbuttoninput sound:Play() end)
It keeps saying that MouseButton1Click is not a valid member of TextBox in the output, It had worked before until I tweened the frame it was in.
If you look at Roblox's wiki for Textbox
, at the bottom where it has events, you will see there is noMouseButton1Click
MouseButton1Click is only for buttons.