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 » Scripters
Home Search
 

Re: How do I make a model of parts fade out at the same time?

Previous Thread :: Next Thread 
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
15 Aug 2016 08:39 PM
for _,v in pairs(shatter:GetChildren()) do
for i = 1, 10 do
v.Transparency = i/10
wait(.5)
end
end


this does 1 at a time


Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
15 Aug 2016 08:40 PM
for _,v in pairs(shatter:GetChildren()) do
spawn(function()
for i = 1, 10 do
v.Transparency = i/10
wait(.5)
end
end)
end


Formerly xXTheRobotXx, add 13,349 posts
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
15 Aug 2016 08:41 PM
Thank you
Report Abuse
DreamsWork is not online. DreamsWork
Joined: 20 Jan 2010
Total Posts: 36796
15 Aug 2016 08:55 PM
or this??

for i do
for i,v in pairs() do

end
end


Report Abuse
Aetheseus is not online. Aetheseus
Joined: 09 Dec 2015
Total Posts: 487
15 Aug 2016 09:34 PM
How do you makw it fade in tho?
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
15 Aug 2016 09:36 PM
for i = 1, 10 do
for _,v in pairs(shatter:GetChildren()) do
v.Transparency = i/10
end
wait(.5)
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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