08-25-2011, 04:53 PM
Instead of enabled (which is not a part of it) try this:
if part.Parent:isA("NPC") or part.Parent:isA("Character") then
particleSystem.Parent = tool
else
particleSystem.Parent = nil
end
Something like that.
if part.Parent:isA("NPC") or part.Parent:isA("Character") then
particleSystem.Parent = tool
else
particleSystem.Parent = nil
end
Something like that.