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 » Scripters
Home Search
 

ImageTransparency check, not working

Previous Thread :: Next Thread 
davisky2 is not online. 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 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
10 Nov 2015 12:11 PM
try reversing it?
Report Abuse
powertool is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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