777MrEpic
|
  |
| Joined: 17 Oct 2012 |
| Total Posts: 3998 |
|
| |
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 14 Jun 2013 07:22 PM |
script.Parent.MouseButton1Click:connect(function() print("hi") end) |
|
|
| Report Abuse |
|
|
777MrEpic
|
  |
| Joined: 17 Oct 2012 |
| Total Posts: 3998 |
|
|
| 14 Jun 2013 07:33 PM |
| how would I do that whith onclick? |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 14 Jun 2013 07:38 PM |
script.Parent.ClickDetector.MouseClick:connect(function() print("hi") end) |
|
|
| Report Abuse |
|
|
777MrEpic
|
  |
| Joined: 17 Oct 2012 |
| Total Posts: 3998 |
|
| |
|
|
| 14 Jun 2013 07:42 PM |
If you need the player from it:
script.Parent.ClickDetector.MouseClick:connect(function(Player) print(Player.Name) end) |
|
|
| Report Abuse |
|
|