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
 

Multiple frames fading

Previous Thread :: Next Thread 
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Sep 2014 04:48 PM
I have a row of frames and I want a fading effect I made this but it goes 1 by 1

for i,v in pairs(script.Parent:GetChildren()) do
if v.Name ~= "Script" then -- makes it not do anything to a script
for i = 1,10 do
v.BackgroundTransparency = v.BackgroundTransparency + 0.1
wait(.1)
end
end
end

How can I make it fade more at a time?

I can make the frames all have 1 , 2 , 3 , 4 ect named like that if you want
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Sep 2014 05:01 PM
bump
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
04 Sep 2014 05:09 PM
So do you want like number 1 to fade, then when it's done 2 to fade and so on?
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Sep 2014 05:13 PM
no I wanted like when number 1 is fading I want number 2 to start fading
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
04 Sep 2014 05:14 PM
Going to have to run 2+ loops at once, but do a check to change a value when number 1 reaches x transparency, then check when the value is changed to start fading number 2.
Report Abuse
ProtectedMethod is not online. ProtectedMethod
Joined: 01 Apr 2011
Total Posts: 5374
04 Sep 2014 05:16 PM
wrap the loop that makes it fade in this code:

coroutine.resume(coroutine.create(function()

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