Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 27 Nov 2011 09:13 PM |
I was trying to make a script for a flashing effect.
e = script.Parent.Reflectance
for i = 1,5 do wait() e = e+1 end
for i = 5,1 do wait() e = e-1 end
It doesn't do anything nor give me any output. |
|
|
| Report Abuse |
|
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
| |
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 27 Nov 2011 09:51 PM |
OK and even this wont work.
It doesnt give any output and does nothing.
e = script.Parent.Reflectance
while true do e = 0.1 wait(0.1) e = 0.2 wait(0.1) e = 0.3 wait(0.1) e = 0.4 wait(0.1) e = 0.5 wait(0.1) end
Somethings up :/ |
|
|
| Report Abuse |
|
|
| |
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 27 Nov 2011 10:20 PM |
Yah someone else explaned it wont keep the transparency part of it.
So it would have to be
e = script.Parent
while true do e.Transparency = 1 end
Like that |
|
|
| Report Abuse |
|
|
| |
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 27 Nov 2011 11:09 PM |
THat worked.
The ones above wouldn't tho.
Just the last one I posted worked. |
|
|
| Report Abuse |
|
|
Apocalyps
|
  |
| Joined: 15 Feb 2009 |
| Total Posts: 816 |
|
|
| 28 Nov 2011 02:13 AM |
e = script.Parent
for i = 1,5 do wait() e.Reflectance = e.Reflectance + 1 end
for i = 5,1,-1 do wait() e.Reflectance = e.Reflectance - 1 end
|
|
|
| Report Abuse |
|
|
|
| 28 Nov 2011 05:09 AM |
| One question Is the script disabled i once made that mistake.... |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2011 09:12 AM |
e = script.Parent.Reflectance
for i = 1,5 do wait() script.Parent.Reflectance = e+1 end
for i = 5,1 do wait() script.Parent.Reflectance = e-1 end
|
|
|
| Report Abuse |
|
|