|
| 31 Jan 2015 08:32 PM |
The same way you do this: for i=0,1,0.1 do wait() Window.Transparency = i end
is there a way to like reverse it so instead of it going from 0 to 1, it goes from 1 to 0.
It doesn't work just by swapping the numbers. |
|
|
| Report Abuse |
|
|
Impletion
|
  |
| Joined: 16 Jan 2015 |
| Total Posts: 1228 |
|
| |
|
vacharya
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 511 |
|
|
| 31 Jan 2015 08:33 PM |
for i=1,0,-0.1 do wait() Window.Transparency = i end |
|
|
| Report Abuse |
|
|
| |
|
atcop12
|
  |
| Joined: 12 Jun 2011 |
| Total Posts: 236 |
|
|
| 31 Jan 2015 08:34 PM |
for i=0,1,-0.1 do wait() Window.Transparency = i end
or
for i=0,1,0.1 do wait() Window.Transparency = 1 - i end |
|
|
| Report Abuse |
|
|
vacharya
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 511 |
|
|
| 31 Jan 2015 08:34 PM |
@Impletion, that would leave us with a negative transparency, so it would be better to count down from 1 to 0 http://wiki.roblox.com/index.php?title=Loops#For |
|
|
| Report Abuse |
|
|