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: What is the easier way to do this?

Previous Thread :: Next Thread 
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
31 Jan 2014 10:23 PM
Changing transparency from 0-1? I know there is a for loop that does it in like five lines, what is it?

Time is a tool you can put on a wall, or wear it on your rizd.
Report Abuse
timothyb903 is not online. timothyb903
Joined: 30 Oct 2010
Total Posts: 6406
31 Jan 2014 10:24 PM
Like keep changing it back and forth? or just once?
Report Abuse
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
31 Jan 2014 10:25 PM
From 1 to 0 and back to 1 then end

Time is a tool you can put on a wall, or wear it on your rizd.
Report Abuse
xXfurheadXx is not online. xXfurheadXx
Joined: 22 Oct 2012
Total Posts: 409
31 Jan 2014 10:26 PM
while true do
script.Parent.Transparency = 1
wait(1)
script.Parent.Transparency = 0
wait(1)
end
Report Abuse
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
31 Jan 2014 10:27 PM
That goes forever though^
Also it just makes it flash. I want it to glide between them.

Time is a tool you can put on a wall, or wear it on your rizd.
Report Abuse
MySQLInjection is not online. MySQLInjection
Joined: 21 Jan 2014
Total Posts: 263
31 Jan 2014 10:33 PM
You could do that but if you want it to glide then do
0.1, 0.2, 0,3 and so on.
Then back again :)
Report Abuse
Delones is not online. Delones
Joined: 19 Jul 2010
Total Posts: 1703
31 Jan 2014 10:36 PM
That takes a while though, I remember an easier way.

Time is a tool you can put on a wall, or wear it on your rizd.
Report Abuse
xXfurheadXx is not online. xXfurheadXx
Joined: 22 Oct 2012
Total Posts: 409
31 Jan 2014 10:40 PM
repeat
Brick.Transparency = (Brick.Transparency - .1)
wait(.1)
until Brick.Transparency == 0
repeat
Brick.Transparency = (Brick.Transparency + .1)
wait(.1)
until Brick.Transparency == 1
Report Abuse
xXfurheadXx is not online. xXfurheadXx
Joined: 22 Oct 2012
Total Posts: 409
31 Jan 2014 10:41 PM
There
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
31 Jan 2014 11:10 PM
for a = 0, 2.1, 0.1 do
Part.Transparency = (a < 1 and a or (a < 2 and 1 - (a - 1) or 0))
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