Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make GUI pages?

Asked by
xp3000 0
10 years ago

For my Naruto game (credit to mastrj's generations), I need more space for chars. How do I make pages or rotation so that there are more options? For example. There's a page with six chars. You can pick one of six via click, or press next at the bottom and go to the next page. How do I do this?

1 answer

Log in to vote
0
Answered by 10 years ago
function onClick()
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent.Page2.Visible = true
end
script.Parent.MouseButton1Click:connect(onClick)

this would be "Page 1" and so it uses Page 2. For page 2 you can add Page3.Visible = true. You need to put the "Page" into a frame.

0
Yeah, but WHERE would I put it? In the "Next" GUI, or the "SECONDPAGE" GUI? xp3000 0 — 10y
0
Just Copy Paste and just change the name of the diff pages and change the scripts. EzraNehemiah_TF2 3552 — 10y
Ad

Answer this question