|
| 30 Jul 2012 01:41 AM |
| How would I check who clicked the button? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 30 Jul 2012 01:58 AM |
You mean that? Then you need a ClickDetector inside the brick.
Workspace.Part.ClickDetector.MouseClick:connect(function(playerWhoClicked) print("Part was clicked by: " .. playerWhoClicked.Name)end) |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2012 03:36 AM |
| No... a text button with gui I already know that |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 30 Jul 2012 03:47 AM |
| Use Parent's most likely the player is scirpt.Parent.Parent.Parent.Parent (or one more Parent if you use Frames). |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2012 11:19 AM |
| I see. Thank you for your help. |
|
|
| Report Abuse |
|
|