hello there!! im trying to make a gui so that when you click on the next button another text shows up. here is the code for the next button:
x=1 script.Parent.MouseButton1Click:Connect(function (ueeeee) if x==1 then script.Parent.Parent.Parent.Buttons.zero.Visible=false--"zero is a tutorial label, all of them are numbers like this script.Parent.Parent.Parent.Buttons.one.Visible=true x=x+1 if x==2 then script.Parent.Parent.Parent.Buttons.one.Visible=false script.Parent.Parent.Parent.Buttons.two.Visible=true x=x+1 if x==3 then script.Parent.Parent.Parent.Buttons.two.Visible=false script.Parent.Parent.Parent.Buttons.three.Visible=true x=x+1 end
the link:https://docs.google.com/document/d/e/2PACX-1vTPye8fVAem7C67G3N4zfZWicE-gnv9M4PZoiODIPY6kGc9BJbkuvjwJBzXjM7_FlDhYDp1syN1-SYo/pub
The image helped a lot. The problem is the text labels are parented to the button inside the buttons frame. Simply drag them out of the button and under the buttons frame.