Kasumo
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 2467 |
|
|
| 12 Jun 2013 11:37 AM |
| Whenever a player kills a npc the npc's broken joints just stay there, how can I make them disappear? |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2013 11:42 AM |
script.Parent.Humanoid.Died:connect(function() --remove joints here end) |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2013 12:22 PM |
NPC:BreakJoints()
for i, v in pairs(NPC.Torso:GetChildren()) do if v:IsA("Weld") then -- I forget which welds the devs use... v:Destroy() end end |
|
|
| Report Abuse |
|
|