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: timed gui close script?

Previous Thread :: Next Thread 
DevBonnie is not online. DevBonnie
Joined: 26 Feb 2010
Total Posts: 1025
08 Mar 2014 07:32 PM
help plz
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
08 Mar 2014 07:33 PM
-->Dev
Bonnie

right
Report Abuse
7y13rb is not online. 7y13rb
Joined: 28 May 2011
Total Posts: 223
08 Mar 2014 07:34 PM
--err in the frame put this:
--localscript
wait(120)
script.Parent.Visible = false
--set it to disabled and have another script enable it when it is turned to true
Report Abuse
iValianT is not online. iValianT
Joined: 21 Aug 2010
Total Posts: 58381
08 Mar 2014 07:35 PM
or use a coroutine^^
Report Abuse
DevBonnie is not online. DevBonnie
Joined: 26 Feb 2010
Total Posts: 1025
08 Mar 2014 07:36 PM
I mainly build
Report Abuse
DevBonnie is not online. DevBonnie
Joined: 26 Feb 2010
Total Posts: 1025
08 Mar 2014 07:43 PM
the gui will go into Player.StarterGui and be visible, so I want it to wait(5) then :Destroy() the gui from the Player.StarterGui
Report Abuse
DevBonnie is not online. DevBonnie
Joined: 26 Feb 2010
Total Posts: 1025
08 Mar 2014 08:57 PM
bump
Report Abuse
iValianT is not online. iValianT
Joined: 21 Aug 2010
Total Posts: 58381
08 Mar 2014 09:01 PM
so when its called by an event

do

coroutine.resume(coroutine.create(function()
wait(5)
gui:Destory()
end))
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
08 Mar 2014 09:05 PM
LAYOUT

ScreenGui
-TextButton
--Script;

Derps = CountdownStartingPointHere

for i = 1,Derps,-1 do
script.Parent.Text = Derps[i]
wait(1)
end
script.Parent.Parent.Visible = false
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