|
| 17 Aug 2011 06:24 PM |
Would this work?
_G.player1 = "BobGeorgenworn"
x = game.Players:GetChildren() for i = 1 #x do if i.Name == _G.player1 then i:BreakJoints() end end
I just made this right now, so I have no idea if it works... if it doesn't work, how can it be fixed?
-Bob |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2011 06:26 PM |
'i' is undefined... I think you mean:
x = Players:children() for i = 1, #x do if (x.Name == _G.player) then x.Character:BreakJoints() end end
You should test it before you post it... Just a future note :3 |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2011 06:28 PM |
Ok thanks... you can use Players:children() instead of :GetChildren() ??
|
|
|
| Report Abuse |
|
|
malachi11
|
  |
| Joined: 07 May 2008 |
| Total Posts: 2420 |
|
|
| 17 Aug 2011 06:40 PM |
| Yes. :children() is the same as :GetChildren() |
|
|
| Report Abuse |
|
|