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: Fading GUI

Previous Thread :: Next Thread 
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 12:38 AM
wait(7)
script.Parent:Transparency = 0.3
wait(0.1)
script.Parent:Transparency = 0.5
wait(0.2)
script.Parent:Transparency = 0.7
wait(0.3)
script.Parent:Destroy()

I know it won't work, any help?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
07 Jan 2014 12:40 AM
script.Parent.Transparency = 0.3
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 12:41 AM
I'll try that, thanks for the quick reply.
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 12:45 AM
This seems to not work:

wait(7)
script.Parent.Transparency = 0.3
wait(0.3)
script.Parent.Transparency = 0.5
wait(0.4)
script.Parent.Transparency = 0.7
wait(0.5)
script.Parent:Destroy()

if not _G.SpawnedOnceAlready then
wait(8)
end
_G.SpawnedOnceAlready = true
script.Parent:Remove()
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 12:49 AM
Help?
Report Abuse
jakej78b is not online. jakej78b
Joined: 09 Mar 2011
Total Posts: 813
07 Jan 2014 01:05 AM
Ehh, for one you shouldn't be using a global variable to determine if someone already spawned once, just add a script that clones a gui on player join...
Report Abuse
Xeleum is not online. Xeleum
Joined: 24 Oct 2010
Total Posts: 3507
07 Jan 2014 01:07 AM
Backgroundtransparency
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 01:10 AM
@Xelum
I want it to fade after 7 seconds.

Anyways, I just inserted this script to TextLabel and it worked

wait(7)
script.Parent.Transparency = 0.2
wait(0.3)
script.Parent.Transparency = 0.4
wait(0.3)
script.Parent.Transparency = 0.6
wait(0.3)
script.Parent.Transparency = 0.8
wait(0.3)
script.Parent:Destroy()
Report Abuse
jonjon55 is not online. jonjon55
Joined: 24 Oct 2009
Total Posts: 78
07 Jan 2014 01:16 AM
for i = 0, 1, 0.1 do
script.Parent.Transparency = i
wait(.1) << or how long to wait
end
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
07 Jan 2014 01:17 AM
I already made it work, but thanks :U
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