Xupll
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 653 |
|
|
| 23 Apr 2014 05:55 PM |
function onClick(mouse)--DO NOT CHANGE if script.Parent.Parent.Lab1.Visible == false then--Check script.Parent.Parent.Lab1.Visible = true --visible script.Parent.Text = "Close"--Text if that label is opened else--Check not needed script.Parent.Parent.Lab1.Visible = false--visible script.Parent.Text = "Stats"--Text if that label is closed end end script.Parent.MouseButton1Click:connect(onClick)
|
|
|
| Report Abuse |
|
|
Xupll
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 653 |
|
| |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Apr 2014 06:14 PM |
That script you wrote... crap
script.Parent.MouseButton1Click:connect(function() if not script.Parent.Parent.Lab1.Visible then--Check script.Parent.Parent.Lab1.Visible = true --visible script.Parent.Text = "Close"--Text if that label is opened elseif script.Parent.Parent.Lab1.Visible --Check is needed scrub script.Parent.Parent.Lab1.Visible = false--visible script.Parent.Text = "Stats"--Text if that label is closed end end) |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Apr 2014 06:14 PM |
| LOL XD I Forgot a then near elseif my bad.... |
|
|
| Report Abuse |
|
|