|
| 02 Mar 2014 06:23 PM |
| Can someone make me a GUI, that when clicked will Clear another GUI off the screen? I would be most appreciative. |
|
|
| Report Abuse |
|
|
| |
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
|
| 02 Mar 2014 09:05 PM |
No, but I can tell you it involves the MouseButton1Down event in GUI buttons, the Destroy method, and a function.
~ Non simpliciter Latinam legere ~ |
|
|
| Report Abuse |
|
|
| |
|
StackEnd
|
  |
| Joined: 20 Oct 2008 |
| Total Posts: 672 |
|
|
| 02 Mar 2014 09:09 PM |
| This is not the forum for requests. If you have a more specific question, such as help debugging a script you wrote or help understanding a concept, you're much more likely to get an actual response. |
|
|
| Report Abuse |
|
|
trogyssy
|
  |
| Joined: 29 Oct 2010 |
| Total Posts: 2322 |
|
|
| 02 Mar 2014 09:24 PM |
I'll do it for free. Charging for a four line- script is unethical...
function Clicked() script.Parent.Parent.GUITODIE --assuming the button's parent is the same as the thing to be destroyed's parent end script.Parent.MouseButton1Click:connect(Clicked) |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:27 PM |
You gave him a script that will do nothing lol .visible=false Moron you are unethical |
|
|
| Report Abuse |
|
|
trogyssy
|
  |
| Joined: 29 Oct 2010 |
| Total Posts: 2322 |
|
|
| 02 Mar 2014 09:30 PM |
| GUITODIE:Destroy() shut up troll |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:41 PM |
Crazy, you gave him a script that errors.
.Visible = false
|
|
|
| Report Abuse |
|
|
trogyssy
|
  |
| Joined: 29 Oct 2010 |
| Total Posts: 2322 |
|
| |
|
|
| 03 Mar 2014 01:27 PM |
| Doesn`t have to have spaces noob, and yes :Destroy function will work too. |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2014 06:55 PM |
@crazy
Are you seriously that stupid?
You can't use .visible because it's lowercased and Lua is Case.
.visible won't work. .Visible will.
|
|
|
| Report Abuse |
|
|
StackEnd
|
  |
| Joined: 20 Oct 2008 |
| Total Posts: 672 |
|
|
| 05 Mar 2014 08:47 PM |
| You just bumped a solved request from 2 days ago. |
|
|
| Report Abuse |
|
|