local s=4 return function(m)local h=m.Effects local f={}for m,h in pairs(m:GetChildren())do if h:IsA("\066\097\115\101\080\097\114\116")and h.Transparency~=1 then local m=math.floor(((h.Size.X+h.Size.Y)+h.Size.Z)*s)local f=script.SparkleEmitter:Clone()f.Parent=h f:Emit(m)Debris:AddItem(f,.8)end end end


local SPARKLE_AMOUNT	= 4

return function(character)
	local effects	= character.Effects
	local parts		= {}
	
	for _, v in pairs(character:GetChildren()) do
		if v:IsA("BasePart") and v.Transparency ~= 1 then
			local rate	= math.floor((v.Size.X + v.Size.Y + v.Size.Z) * SPARKLE_AMOUNT)
			
			local emitter	= script.SparkleEmitter:Clone()
				emitter.Parent	= v
				
			emitter:Emit(rate)
				
			Debris:AddItem(emitter, 0.8)
		end
	end
end
