I am making a tutorial for my game, and I ran into one problem. I want to make it so that you can press a button that says "Next" but I just cannot figure out how to do this. Here is my code so far. Any help would be greatly appreciated.
script.Parent.MouseButton1Click:Connect(function() local page = 1 if page == 2 then page = page + 1 print(page) end if page == 1 then page = page + 1 end if page == 3 then script.Parent.Parent.TextLabel.Text = "Cool! Now you are at one of the most important places in the game, the C++ Hub! The C++ hub is where you can learn things about C++, and you can also test your knowledge!" page = page + 1 end if page == 2 then script.Parent.Parent.TextLabel.Text = "Ok. follow the arrows that lead to the TV near the 'learn' sign. " print(page) page = page + 1 end end)