Piegreen2
|
  |
| Joined: 10 Feb 2013 |
| Total Posts: 549 |
|
|
| 30 Nov 2013 01:41 AM |
I'm wondering if there is a script that closes the GUI after a set time, ending the music playing with the GUI. Is there? If so, please send me the link!
The master Aquabat fan, Piegreen2 |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 30 Nov 2013 04:08 AM |
um.
wait (10) script.Parent = game.Lighting wait (10) script.Parent = game.StarterGui
lol i dunno |
|
|
| Report Abuse |
|
|
einsteinK
|
  |
| Joined: 22 May 2011 |
| Total Posts: 1015 |
|
|
| 30 Nov 2013 05:13 AM |
Just make a script in the screengui:
wait(10) script.Parent:Destroy() |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 01 Dec 2013 03:31 AM |
| no.. tha oulwd destroy it, he wants it to close |
|
|
| Report Abuse |
|
|
Piegreen2
|
  |
| Joined: 10 Feb 2013 |
| Total Posts: 549 |
|
|
| 01 Dec 2013 08:23 PM |
| Yeah, I just need it to close. |
|
|
| Report Abuse |
|
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 01 Dec 2013 08:25 PM |
while true do wait(10) script.Parent.NameOfGui.Frame.Visible = false wait(10) script.Parent.NameOfGui.Frame.Visible = true end
~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~~CAT ★★★★ General Shawnyg~ |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 08:25 PM |
| Do wait(10) script.Parent.Visible = false |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Dec 2013 08:30 PM |
You want it to close a gui when the music stops playing? then...
Ledle = game.Workspace.NameOfMusic
if Ledle.IsPlaying == false then -- If music is off game.StarterGui.NAMEOFGUI.Frame.Visible = false -- Changes Global Gui for _,v in pairs(game.Players:GetChildren()) do if v:FindFistChild("PlayerGui") then v.PlayerGui.NAMEOFGUI.Frame.Visible = false -- Changes Everyones Gui. end end end
|
|
|
| Report Abuse |
|
|
Piegreen2
|
  |
| Joined: 10 Feb 2013 |
| Total Posts: 549 |
|
|
| 01 Dec 2013 09:47 PM |
| I mean that when the certain time passes, the gui dissappears, taking the music with it. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2013 03:38 PM |
| Then just make a script that makes the GUI disappear? |
|
|
| Report Abuse |
|
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 02 Dec 2013 03:49 PM |
Also, make it stop when you use my script I posted Music = game.StarterGui.NameOfGui.NameOfSound Music:Stop()
~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~~CAT ★★★★ General Shawnyg~ |
|
|
| Report Abuse |
|
|
Piegreen2
|
  |
| Joined: 10 Feb 2013 |
| Total Posts: 549 |
|
|
| 04 Dec 2013 08:02 PM |
| Alright. I did it and now I'm working on making the music play. Thanks guys! You guys are great scripting help! |
|
|
| Report Abuse |
|
|