|
| 14 Sep 2011 04:26 PM |
| Can somebody tell me the connection line for a script that I put in a GUI to make something happen when the GUI is clicked? Thanks. |
|
|
| Report Abuse |
|
|
ns001111
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 2849 |
|
|
| 14 Sep 2011 04:27 PM |
script.Parent.MouseButton1Click:connect(function() --code end)
~ ns |
|
|
| Report Abuse |
|
|
| |
|
ns001111
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 2849 |
|
| |
|
|
| 14 Sep 2011 04:32 PM |
| I always use MouseButton1Down and it works fine. how may different ones are there and is there a difference in ho they work? |
|
|
| Report Abuse |
|
|