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
 

Simple GUI help

Previous Thread :: Next Thread 
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
06 Jan 2014 01:44 PM
I'm making a wait for 7 seconds before it deletes, but I want it to fade
here's my try, sorry, I'm new.

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()

Yes, I know the transparency won't work, and help?
Report Abuse
DarkComa is not online. DarkComa
Joined: 01 Apr 2011
Total Posts: 11679
06 Jan 2014 01:45 PM
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()
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
06 Jan 2014 01:47 PM
I have a red line from script.Parent:Transparency = 0.3 I haven't tested it online yet though.

Anyways, thanks.
Report Abuse
sk8t3r230 is online. sk8t3r230
Joined: 13 Jun 2011
Total Posts: 8649
06 Jan 2014 01:50 PM
I've just tested it online and it's not working, any help?
Report Abuse
nicklas3689 is not online. nicklas3689
Joined: 26 Oct 2010
Total Posts: 676
06 Jan 2014 01:54 PM
s=script.Parent



wait(7)
s.Transparency=0.3
wait(0.1)
s.Transparency=0.5
wait(0.2)
s.Transparency=0.7
wait(0.3)
s:remove()



Havent tested though.
Report Abuse
matt70529 is not online. matt70529
Joined: 15 Oct 2012
Total Posts: 3710
06 Jan 2014 02:00 PM
wait(7)
script.Parent.Transparency = 0.3
wait(0.1) -- try change
script.Parent.Transparency = 0.5
wait(0.2) -- heil matt
script.Parent.Transparency = 0.7
wait(0.3)
script.Parent:remove()

Now, if that doesn't work, you can change waits to be a bit longer, OR

wait(7)
game.StarterGui.GuiName.Transparency = 0.3
wait(0.5)
game.StarterGui.GuiName.Transparency = 0.5
wait(0.6)
game.StarterGui.GuiName.Transparency = 0.7
wait(1)
game.StarterGui.GuiName:remove()
--matt70529, no need for thank you's
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