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: GUI Fade Script - Help (This makes no sense!)

Previous Thread :: Next Thread 
xXStealthsniper200Xx is not online. xXStealthsniper200Xx
Joined: 30 Nov 2011
Total Posts: 2037
08 Apr 2012 07:06 PM
A = script.Parent.Parent.Parent.Fade.BackgroundTransparency
B = 1

function onButtonClicked()
for i=1,10 do
A = (A - 0.1)
Wait(B)
end
end

script.Parent.MouseButton1Click:connect(onButtonClicked)


^
I've tried tons of other ways to do this but it just refuses to work. I can see my GUI so that's not the problem here. I tried it without the A shortcut, I tried without the loop and other ways but it's the same story. Help me please...
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
08 Apr 2012 07:07 PM
Any output?









~I don't always forum, but when I do, I forum like a collection of pixels.~
Report Abuse
BEART12 is not online. BEART12
Joined: 22 Oct 2008
Total Posts: 3190
08 Apr 2012 07:08 PM
for i=1,10, -0.1 do


something like that i think.
Report Abuse
Quovis is not online. Quovis
Joined: 24 Mar 2012
Total Posts: 494
08 Apr 2012 07:08 PM
Just use "Transparency" instead of BackgroundTransparency
Report Abuse
xXStealthsniper200Xx is not online. xXStealthsniper200Xx
Joined: 30 Nov 2011
Total Posts: 2037
08 Apr 2012 07:14 PM
No dice...

I added a print 'Hi' and it printed...this could be a bug.
Report Abuse
Quovis is not online. Quovis
Joined: 24 Mar 2012
Total Posts: 494
08 Apr 2012 07:16 PM
A = script.Parent.Parent.Parent.Fade.BackgroundTransparency
B = 1
script.Parent.MouseButton1Down:connect(function()
for i=1,10 do
A = (A - 0.1)
Wait(B)
end
end)

Try that.
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