TCurrency
|
  |
| Joined: 24 Jan 2011 |
| Total Posts: 952 |
|
|
| 06 May 2013 04:32 AM |
How to apply a mouseclick function to a GUI?
Anybody got time for a siggy |
|
|
| Report Abuse |
|
|
|
| 06 May 2013 04:37 AM |
function onclick()
end script.Parent.MouseButton1Down:connect(onclick) |
|
|
| Report Abuse |
|
|
juriaan
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 939 |
|
|
| 06 May 2013 04:38 AM |
function Click() -- Code end
script.Parent.MouseButton1Down:connect(Click)
or
script.Parent.MouseButton1Down:connect(function() -- Code end)
For more information about the events in a GUI object go to wiki.roblox.com
|
|
|
| Report Abuse |
|
|
TCurrency
|
  |
| Joined: 24 Jan 2011 |
| Total Posts: 952 |
|
|
| 06 May 2013 06:17 AM |
Hi Gamer, it's glorybox :)
And thanks gamer and Juriaan. :)
Anybody got time for a siggy |
|
|
| Report Abuse |
|
|