swooby
|
  |
| Joined: 30 Dec 2010 |
| Total Posts: 1986 |
|
|
| 20 Jul 2016 10:02 PM |
how would i do so with adding it in this script i already made?
--------------------- local gui = script.Parent local stats = gui.Parent:WaitForChild('UCLA Stats') local bool = false
gui.MouseButton1Click:connect(function() bool = not bool if bool then gui.Text = 'OPEN' else gui.Text = 'CLOSE' end stats.Active = not bool stats.Visible = not bool for i,v in next, stats:GetChildren() do v.Active = not bool v.Visible = not bool end end)
drink lots of water or ur gonna die |
|
|
| Report Abuse |
|
|
swooby
|
  |
| Joined: 30 Dec 2010 |
| Total Posts: 1986 |
|
|
| 20 Jul 2016 10:19 PM |
b
drink lots of water or ur gonna die |
|
|
| Report Abuse |
|
|
Dominical
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 1303 |
|
|
| 20 Jul 2016 10:21 PM |
function fadeIn(guiElement) for i=1,0,-0.1 do guiElement.BackgroundTransparency=i wait() end end
function fadeOut(guiElement) for i=0,1,0.1 do guiElement.BackgroundTransparency=i wait() end end
|
|
|
| Report Abuse |
|
|
j_ffrey
|
  |
| Joined: 12 Apr 2015 |
| Total Posts: 262 |
|
|
| 20 Jul 2016 10:21 PM |
if gui.transparency < 1 then gui.transparency = gui.transparency + 0.1
|
|
|
| Report Abuse |
|
|