|
| 01 Jun 2016 03:37 PM |
somehow this is cloning the jewel even if it hasn't died like, the jewel just appears in front of the NPC even when it hasn't died |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2016 03:38 PM |
script:
script.Parent.Enemy.Died:connect(function() local drop = game.Lighting.Jewel:Clone() drop.Parent = workspace drop.Position = script.Parent.Torso.Position + Vector3.new(0, 0, 3) end) |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 01 Jun 2016 03:57 PM |
humanoid.Changed:connect(function(prop) print(prop) end)
use that to see if the humanoid is being killed somehow
|
|
|
| Report Abuse |
|
|
2eggnog
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 1351 |
|
|
| 01 Jun 2016 04:24 PM |
That's a pretty strange problem. Two suggestions: 1. Make sure 'script.Parent.Enemy' is actually a humanoid object and not the enemy model. 2. Try checking if the Health is actually 0 first.
|
|
|
| Report Abuse |
|
|
|
| 02 Jun 2016 01:07 PM |
solved it, there was a script named "qPerfectionWeld" that is a weld tool that a tree used that thing breaks legit everything in your game |
|
|
| Report Abuse |
|
|