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

4 comments
The script looks functioning. What's the problem?
when i press the button it does nothoing
Could you edit your post and send a picture of the hierarchy that the script is in?
ok