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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Fading button on gui

Previous Thread :: Next Thread 
99992400lukas is not online. 99992400lukas
Joined: 14 Mar 2013
Total Posts: 157
16 Jun 2014 10:02 PM
how do i make a block fade and then be solid on clicked the second time but on the first time it is clicked it makes it solid? im learning scripting but dont know much about it
Report Abuse
99992400lukas is not online. 99992400lukas
Joined: 14 Mar 2013
Total Posts: 157
19 Jun 2014 09:42 PM
help
Report Abuse
Mario5422 is not online. Mario5422
Joined: 17 Nov 2008
Total Posts: 3922
19 Jun 2014 09:44 PM
The way you worded this is kind of confusing. I'm not sure exactly what you're trying to do.
Report Abuse
TradeDEV is not online. TradeDEV
Joined: 15 Jun 2014
Total Posts: 299
19 Jun 2014 09:45 PM
He's trying to slowly fade the transparency of a textbutton.

@TradeDEVRBLX
Report Abuse
robocu is not online. robocu
Joined: 18 Feb 2009
Total Posts: 210
19 Jun 2014 09:49 PM
Okay, a for loop.
-=Robo=-
Report Abuse
99992400lukas is not online. 99992400lukas
Joined: 14 Mar 2013
Total Posts: 157
19 Jun 2014 09:49 PM
no not a text button make a block be removed once a button on a gui is clicked then once that button is clicked another time it comes back
Report Abuse
99992400lukas is not online. 99992400lukas
Joined: 14 Mar 2013
Total Posts: 157
19 Jun 2014 09:50 PM
like a reappearing block and removing block that does those things once the buttons on the guis are clicked
Report Abuse
TradeDEV is not online. TradeDEV
Joined: 15 Jun 2014
Total Posts: 299
19 Jun 2014 09:51 PM
So fade a blocks transparency and make the cancollide turn false, then when you click it, it reverses.

@TradeDEVRBLX
Report Abuse
99992400lukas is not online. 99992400lukas
Joined: 14 Mar 2013
Total Posts: 157
19 Jun 2014 09:53 PM
yes
Report Abuse
DhatBoiiPapi is not online. DhatBoiiPapi
Joined: 27 May 2013
Total Posts: 701
19 Jun 2014 09:53 PM
Put this script inide the text box.

script.Parent.MouseButton1Down:connect(function()
block = game.Workspace.Part

for i = .1, 1 do
wait()
block.Transparency = i
end
Report Abuse
DhatBoiiPapi is not online. DhatBoiiPapi
Joined: 27 May 2013
Total Posts: 701
19 Jun 2014 09:55 PM
Oh and to reverse add onto it and put

if not block then
b = Instance.new("Part", Workspace")
b.Anchored = true
b.Size = Vector3.new(4,4.2,4)
b.Position = Vector3.new(0,0,0)
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