generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Page Up & Down Button

Previous Thread :: Next Thread 
SxpremeNick is not online. SxpremeNick
Joined: 04 Sep 2016
Total Posts: 31
03 Nov 2016 09:15 PM
So I'm trying to makeing a GUI and trying to make the pages easier to script but everytime I hit the up button it goes to page 3 and the page down button doesn't even work. Some guidence would help please. ( I have the mouse button hit and stuff it works fine)

-(PAGE UP BUTTON SCRIPT)------------------------------------
local P1 = script.Parent.Parent.Parent.Scripts.Scripts.One
local P2 = script.Parent.Parent.Parent.Scripts.Scripts.Two
local P3 = script.Parent.Parent.Parent.Scripts.Scripts.Three

if P1.Visible == true then
P1.Visible = false
P2.Visible = true
P3.Visible = false
end

if P2.Visible == true then
P1.Visible = false
P2.Visible = false
P3.Visible = true
end

if P3.Visible == true then end
-(PAGE DOWN BUTTON)-------------------------------------------
local P1 = script.Parent.Parent.Parent.Scripts.Scripts.One
local P2 = script.Parent.Parent.Parent.Scripts.Scripts.Two
local P3 = script.Parent.Parent.Parent.Scripts.Scripts.Three

if P3.Visible == true then
P1.Visible = false
P2.Visible = true
P3.Visible = false
end

if P2.Visible == true then
P1.Visible = true
P2.Visible = false
P3.Visible = false
end

if P1.Visible == true then end


Report Abuse
SxpremeNick is not online. SxpremeNick
Joined: 04 Sep 2016
Total Posts: 31
03 Nov 2016 09:17 PM
More clarifications: I press the page up button and it goes to page three and then the page down button doesn't work. So it gets stuck on P3


Report Abuse
ContentCrown is not online. ContentCrown
Joined: 06 Apr 2014
Total Posts: 6461
03 Nov 2016 10:29 PM
Learn how to use elseif
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image