Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 02:46 AM |
How would I make it so that when a GUI is clicked, another GUI opens, and when it is clicked again, the GUI disappears? Thanks in advance, Cheeso |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
|
| 06 Jul 2014 02:54 AM |
Let's assume that this is perhaps something such as a TextButton and that the script is inside the GUI. ------------------- GUIClicked = false script.Parent.MouseButton1Click:connect(function() if GUIClicked == false then --GUI Code Here GUIClicked = true elseif GUIClicked == true then script.Parent.Parent = nil end end) |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 02:56 AM |
| I have a GUI button at the top of my screen and a text button inside of it. So I insert that script and it should work? |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 03:04 AM |
| And erm….Just out of curiosity, the GUI that is being opened? The scrolling feature is fine and I inserted a TextLabel but anything I write goes in the middle. How do I make the text start in the top right corner and go left to right until it reaches the bottom? |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 06 Jul 2014 03:06 AM |
| Scroll to the bottom of the TextLabel's properties and you'll see XAlignment and YAlignment or something. Make them Left and Up, rather than Centre. |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 03:10 AM |
| Uh oh. Hang on. Now when I write stuff in, it goes off of the scrolling frame? And there is no button slider? Do I have to make a new Label for every line? |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 06 Jul 2014 03:11 AM |
| I think you need to make sure TextWrapped is true. |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 03:12 AM |
| Oh erm. Probably….lol thanks again |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 03:38 AM |
| How do I put a text button at the bottom of a scrolling frame? I can position it right but it looks like it is behind the frame? |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 03:41 AM |
| Ohhhh. Do I need to put a TextLabel and then text button inside of it? |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
| |
|
|
| 06 Jul 2014 05:10 AM |
| Yes, insert the script and inform me of the result. |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 06 Jul 2014 05:28 AM |
SO I have a scrolling frame with info in it. That works fine. I need a close button. So when I put a text button with a script on the scrolling frame, it appears behind it
|
|
|
| Report Abuse |
|
|
|
| 06 Jul 2014 05:33 AM |
| Change the ZIndex property. |
|
|
| Report Abuse |
|
|