davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 10 Nov 2015 08:16 AM |
The ImageTransparency is 0. Then why the script thinks that the transparency is bigger than .25?
script.Parent.MouseEnter:connect(function() for _ = 1,5 do if script.Parent.ImageTransparency >= .25 then script.Parent.ImageTransparency = script.Parent.ImageTransparency +0.05 end wait() end end)
~davisky~ |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 10 Nov 2015 12:56 PM |
| Your problem is that you failed an ImageTransparency check roll. But to be serious, is MouseEnter even a thing on an imagelabel? |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 10 Nov 2015 01:46 PM |
I made a print thingy to check does the loop goes. It goes, but the if statement probabl is not correct.
~davisky~ |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 10 Nov 2015 01:48 PM |
Ohh i get it. I checked is the transparency higher than .25. It needed to be reversed.
~davisky~ |
|
|
| Report Abuse |
|
|