error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
|
| 08 Sep 2013 03:53 AM |
how to i make a normal brick with clickdetector detecting the clicker? Cause when u click the brick, something has to change in the clickers leaderstats.
Greetz, Error. |
|
|
| Report Abuse |
|
|
Maileh
|
  |
| Joined: 14 Jun 2011 |
| Total Posts: 1067 |
|
| |
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 08 Sep 2013 04:10 AM |
The 'MouseClick' event (Which you use with a 'ClickDetector') will 'pass on' the player object of the person who clicked it.
function Blargh(ThePersonWhoClicked) local Player = ThePersonWhoClicked
end Bleh.ClickDetector.MouseClick:connect(Blargh) |
|
|
| Report Abuse |
|
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
| |
|