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
 

Make a Part Slowly Fade?

Previous Thread :: Next Thread 
blox6137 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
23 Jul 2014 04:14 AM
How would one do this?
I've tried doing:

~~

while wait(.1) do
part.Transparency = part.Transparency + 1
end

~~

for t = 0,1,.1 do
part.Transparency = t
end

~~
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
23 Jul 2014 04:17 AM
Transparency is between 0-1
Your first loop is increasing by increments of one.
Your second script has no waiting time.
Report Abuse
blox6137 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
23 Jul 2014 04:18 AM
Yes, I realized the Transparency issue right when I pressed post. I changed it after, but it still didn't work. :/
Report Abuse
blox6137 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
23 Jul 2014 04:20 AM
I've 'fixed' both scripts, but they still aren't fixed.
Report Abuse
blox6137 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
23 Jul 2014 04:20 AM
local part = script.Parent
part.Transparency = 0
part.CanCollide = false

while wait(.001) do
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(0) + .01, 0)
end

--this is where I would put the transparency changy part
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
23 Jul 2014 07:38 AM
while wait() do
for i = 1, 10 do
part.Transparency = part.Transparency + 0.1
end
for i = 1, 10 do
part.Transparency = part.Transparency - 0.1
end
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