plr = game:service'Players'.LocalPlayer char = plr.Character mouse = plr:GetMouse() humanoid = char:findFirstChild("Humanoid") torso = char:findFirstChild("Torso") head = char.Head ra = char:findFirstChild("Right Arm") la = char:findFirstChild("Left Arm") rl = char:findFirstChild("Right Leg") ll = char:findFirstChild("Left Leg") rs = torso:findFirstChild("Right Shoulder") ls = torso:findFirstChild("Left Shoulder") rh = torso:findFirstChild("Right Hip") lh = torso:findFirstChild("Left Hip") neck = torso:findFirstChild("Neck") rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") anim = char:findFirstChild("Animate") rootpart = char:findFirstChild("HumanoidRootPart") camera = workspace.CurrentCamera emitter = Instance.new("ParticleEmitter",torso) local colors = {"Really red","New yeller","Deep orange","Lime green","Really blue","Dark indigo","Plum"} local red = Color3.new(255,0,0) local orange = Color3.new(255,85,0) local yellow = Color3.new(255,255,0) local green = Color3.new(0,255,0) local blue = Color3.new(0,0,255) local indigo = Color3.new(170,0,255) local violet = Color3.new(80,0,127) emitter.EmissionDirection = "Top" local lifetime = emitter.Lifetime emitter.Color = ColorSequence.new(red,orange,yellow,green,blue,indigo,violet)repeat until humanoid.Died humanoid.Died:connect(function() for cframe_parts = 0, 100 do local p = Instance.new("Part") p.FormFactor = "Custom" p.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) p.Size = Vector3.new(1, 1, 1) Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05) p.Locked = true p.CanCollide = false p.Anchored = true p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36)) p.Parent = workspace game:service'Debris':AddItem(p, 5) coroutine.wrap(function() while wait() do if p ~= nil then p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0) p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0) p.Transparency = p.Transparency + 0.015 else break end end end)() end for _,v in pairs(char:children()) do if v:IsA("Part") then v:Destroy() end end end)