|
| 31 Aug 2011 09:35 PM |
| How do you get something to at least print something in the output with a button. I use the wiki script but everytime I edited it and used it how it was nothing happened. |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2011 09:36 PM |
| What do you mean? Click button or what o:? |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2011 09:37 PM |
| Mousebutton1 Click and make it print something into the output (I needed a basic one so i can learn off of it Wiki didnt help) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
smurf279
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 6871 |
|
|
| 31 Aug 2011 10:12 PM |
script.Parent.MouseButton1Down:connect(function() print(script.Parent.Name.. "has been clicked") end) |
|
|
| Report Abuse |
|
|
|
| 31 Aug 2011 10:21 PM |
Smurf if he used that it would print: butonhas been clicked
script.Parent.MouseButton1Down:connect(function() print(script.Parent.Name.. " has been clicked") end)
this would print: button has been clicked |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2011 08:51 AM |
| Thanks I made it into a script that deltes the baseplate :D |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 01 Sep 2011 09:03 AM |
| @bike. Nope. Not all names GuiButtons same. |
|
|
| Report Abuse |
|
|
| |
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 01 Sep 2011 09:06 AM |
| YOu said it iwll print "button". No it will print name of GuiButton.. |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2011 04:35 PM |
| I know it was an exaple noob. |
|
|
| Report Abuse |
|
|