|
| 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 |
|
|
| |
|
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
|
  |
| 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
|
  |
| Joined: 18 Feb 2009 |
| Total Posts: 210 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|