corto713
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 962 |
|
|
| 23 Jun 2012 02:53 PM |
I made this script offline at my house and posted it to see if it would work on my ScreenGui thing
All of this was redone on my iPhone because I did not have internet on my computer. Absolutely none of this worked and I would like to know why.
StarterGui Frame TextButton Script TextLabel1 TextLabel2 TextLabel3 TextLabel4 TextLabel5 TextLabel6 TextLabel7
function OnClicked() script.Parent.Parent.BackgroundTransparency = 1 script.Parent.TextTransparency = 1 script.Parent.BackgroundTransparency = 1 script.Parent.Parent.TextLabel1.BackgroundTransparency = 1 script.Parent.Parent.TextLabel1.TextTransparency = 1 script.Parent.Parent.TextLabel2.BackgroundTransparency = 1 script.Parent.Parent.TextLabel2.TextTransparency = 1 script.Parent.Parent.TextLabel3.BackgroundTransparency = 1 script.Parent.Parent.TextLabel3.TextTransparency = 1 script.Parent.Parent.TextLabel4.BackgroundTransparency = 1 script.Parent.Parent.TextLabel4.TextTransparency = 1 script.Parent.Parent.TextLabel5.BackgroundTransparency = 1 script.Parent.Parent.TextLabel5.TextTransparency = 1 script.Parent.Parent.TextLabel6.BackgroundTransparency = 1 script.Parent.Parent.TextLabel6.TextTransparency = 1 script.Parent.Parent.TextLabel7.BackgroundTransparency = 1 script.Parent.Parent.TextLabel7.TextTransparency = 1 end script.Parent.MouseButton1Down:connect(OnClicked) |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2012 03:04 PM |
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.BackgroundTransparency = 1 script.Parent.TextTransparency = 1 script.Parent.Parent.TextLabel1.BackgroundTransparency = 1 script.Parent.Parent.TextLabel1.TextTransparency = 1 script.Parent.Parent.TextLabel2.BackgroundTransparency = 1 script.Parent.Parent.TextLabel2.TextTransparency = 1 script.Parent.Parent.TextLabel3.BackgroundTransparency = 1 script.Parent.Parent.TextLabel3.TextTransparency = 1 script.Parent.Parent.TextLabel4.BackgroundTransparency = 1 script.Parent.Parent.TextLabel4.TextTransparency = 1 script.Parent.Parent.TextLabel5.BackgroundTransparency = 1 script.Parent.Parent.TextLabel5.TextTransparency = 1 script.Parent.Parent.TextLabel6.BackgroundTransparency = 1 script.Parent.Parent.TextLabel6.TextTransparency = 1 script.Parent.Parent.TextLabel7.BackgroundTransparency = 1 script.Parent.Parent.TextLabel7.TextTransparency = 1 end)
Nothing as far as I can see. |
|
|
| Report Abuse |
|
|
corto713
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 962 |
|
|
| 23 Jun 2012 03:06 PM |
| Ok, well how could I reorganize the Gui, Frame, script, and trxtlabels in explorer to make it work |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2012 03:08 PM |
| I don't think there's anything wrong with it. |
|
|
| Report Abuse |
|
|
corto713
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 962 |
|
|
| 23 Jun 2012 03:12 PM |
| That's odd, well it is up on my Climb 10,000 Stairs place and what it is supposed to do is make a GUI invisable on click of a button and it doesn't work so I'll see what I can find maybe try to fix it... I will have to do it later though because I'm on my phone right now. |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2012 03:17 PM |
| Just do, script.Parent.Parent.Parent:Destroy() or script.Parent.Parent.Visible = false. |
|
|
| Report Abuse |
|
|
corto713
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 962 |
|
|
| 23 Jun 2012 03:22 PM |
I'll give it a try when I get my computer to the internet or something but won't know until then!
Thanks ~Corto713 |
|
|
| Report Abuse |
|
|
corto713
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 962 |
|
|
| 23 Jun 2012 04:08 PM |
| How would I put a wait function on the destroy one. I noticed it worked but could I make it wait 20 seconds becore it does? |
|
|
| Report Abuse |
|
|
| |
|