Wolater
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 2786 |
|
|
| 29 Nov 2013 12:40 AM |
local m = Instance.new("HopperBin",game.Players.Wolater.Backpack) m.Selected:connect(function(m) m.Button1Down:connect(function() local p = game.Players:FindFirstChild(m.Hit.p) if p then p.Character:BreakJoints() end end) end)
Won't kill the selected player when I click on them |
|
|
| Report Abuse |
|
|
TIMTA
|
  |
| Joined: 17 Dec 2009 |
| Total Posts: 38 |
|
|
| 29 Nov 2013 03:13 AM |
| try p.Parent:BreakJoints() |
|
|
| Report Abuse |
|
|
6e8
|
  |
| Joined: 21 Jul 2013 |
| Total Posts: 10 |
|
|
| 29 Nov 2013 03:20 AM |
LocalScript in a HopperBin:
script.Parent.Selected:connect(function(mouse) mouse.Button1Down:connect(function() if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then mouse.Target.Parent:BreakJoints() end end) end) |
|
|
| Report Abuse |
|
|