generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: GUI help

Previous Thread :: Next Thread 
Piegreen2 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. Piegreen2
Joined: 10 Feb 2013
Total Posts: 549
01 Dec 2013 08:23 PM
Yeah, I just need it to close.
Report Abuse
shawnyg is not online. 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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Dec 2013 08:25 PM
Do wait(10) script.Parent.Visible = false
Report Abuse
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
01 Dec 2013 08:26 PM
Sorry above sounded nooby
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
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 is not online. 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
crazyfireball2002 is not online. crazyfireball2002
Joined: 27 Sep 2010
Total Posts: 275
02 Dec 2013 03:38 PM
Then just make a script that makes the GUI disappear?
Report Abuse
shawnyg is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image