| |
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
| |
|
| |
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 08 Apr 2014 06:37 PM |
script.Parent.ClickDetector.MouseClick:connect(function(player) player.Character:BreakJoints() end) |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 08 Apr 2014 06:39 PM |
Let me break that down for you
script.Parent.ClickDetector -- Path to the click Detector
MouseClick:connect(function(player) -- MouseClick event with a function, and player.
player.Character:BreakJoints() -- kills the player by breaking all welds and things end) -- stops the function. |
|
|
| Report Abuse |
|
|
| |
|
vvrocks
|
  |
| Joined: 03 Jun 2011 |
| Total Posts: 168 |
|
| |
|