Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

MouseButton1Click is not a valid member of TextBox?

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.

1 comment

0

No, only you can use that in TextButton

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.