Character=script.Parent Humanoid=Character:FindFirstChild("\072\117\109\097\110\111\105\100")Players=game:GetService("\080\108\097\121\101\114\115")Debris=game:GetService("\068\101\098\114\105\115")Player=Players:GetPlayerFromCharacter(Character)Creator=script:FindFirstChild("\067\114\101\097\116\111\114")BaseColor=BrickColor.new("\082\101\097\108\108\121 \098\108\097\099\107")DarkProperties={All={Material=Enum.Material.Plastic;TextureId="",VertexColor=Vector3.new(BaseColor.Color.r,BaseColor.Color.g,BaseColor.Color.b),BaseTextureId=0;OverlayTextureId=0;ShirtTemplate="",PantsTemplate="";SparkleColor=BaseColor.Color;Color=BaseColor.Color,SecondaryColor=BaseColor.Color};Class={ParticleEmitter={Color=ColorSequence.new(BaseColor.Color,BaseColor.Color)},Sparkles={Color=BaseColor.Color,SparkleColor=BaseColor.Color};Decal={Texture=""}}}function IsTeamMate(w,G)return w and(G and(not w.Neutral and(not G.Neutral and w.TeamColor==G.TeamColor)))end function TagHumanoid(w,G)local l=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")l.Name="\099\114\101\097\116\111\114"l.Value=G Debris:AddItem(l,2)l.Parent=w end function UntagHumanoid(w)for w,G in pairs(w:GetChildren())do if G:IsA("\079\098\106\101\099\116\086\097\108\117\101")and G.Name=="\099\114\101\097\116\111\114"then G:Destroy()end end end function GetAllInstances(w)local G={}local function l(w)for w,T in pairs(w:GetChildren())do table.insert(G,T)l(T)end end l(w)return G end function DarkEffect()UntagHumanoid(Humanoid)if Creator and(Creator.Value and Creator.Value:IsA("\080\108\097\121\101\114"))then TagHumanoid(Humanoid,Creator.Value)end Humanoid.Health=0 Character:BreakJoints()local w=GetAllInstances(Character)local G={}for w,l in pairs(w)do local T={Object=l,Properties={}}local e={}if l:IsA("\072\097\116")or l:IsA("\084\111\111\108")then for w,G in pairs(l:GetChildren())do if G:IsA("\066\097\115\101\080\097\114\116")then G.Parent=l.Parent end end l:Destroy()elseif l:IsA("\066\097\115\101\080\097\114\116")then l.CanCollide=true l.Anchored=true Debris:AddItem(l,10)end if l:IsA("\066\097\115\101\080\097\114\116")and l.Name=="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then elseif l:IsA("\068\101\099\097\108")and l.Name=="\102\097\099\101"then elseif l:IsA("\067\108\111\116\104\105\110\103")then l:Destroy()else for w,G in pairs(DarkProperties.All)do pcall(function()T.Properties[w]=l[w]e[w]=true l[w]=G end)end for w,G in pairs(DarkProperties.Class)do if l:IsA(w)then for w,G in pairs(G)do pcall(function()T.Properties[w]=l[w]l[w]=G end)end end end end table.insert(G,T)end wait(.25)for w,G in pairs(w)do if G:IsA("\066\097\115\101\080\097\114\116")then local w=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121")w.velocity=(Vector3.new(math.random()-.5,0,math.random()-.5)).Unit*80 w.maxForce=Vector3.new(100000,100000,100000)w.Parent=G G.Anchored=false end end end DarkEffect()script:Destroy()
--Rescripted by Luckymaxer

Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")

Players = game:GetService("Players")
Debris = game:GetService("Debris")

Player = Players:GetPlayerFromCharacter(Character)

Creator = script:FindFirstChild("Creator")

BaseColor = BrickColor.new("Really black")
DarkProperties = {
	All = {
		--BrickColor = BaseColor,
		Material = Enum.Material.Plastic,
		TextureId = "",
		--Texture = "",
		VertexColor = Vector3.new(BaseColor.Color.r, BaseColor.Color.g, BaseColor.Color.b),
		BaseTextureId = 0,
		OverlayTextureId = 0,
		ShirtTemplate = "",
		PantsTemplate = "",
		SparkleColor = BaseColor.Color,
		Color = BaseColor.Color,
		SecondaryColor = BaseColor.Color,
	},
	Class = {
		ParticleEmitter = {
			Color = ColorSequence.new(BaseColor.Color, BaseColor.Color),
		},
		Sparkles = {
			Color = BaseColor.Color,
			SparkleColor = BaseColor.Color,
		},
		Decal = {
			Texture = "",
		},
	},
}

function IsTeamMate(Player1, Player2)
	return (
		Player1
		and Player2
		and not Player1.Neutral
		and not Player2.Neutral
		and Player1.TeamColor == Player2.TeamColor
	)
end

function TagHumanoid(humanoid, player)
	local Creator_Tag = Instance.new("ObjectValue")
	Creator_Tag.Name = "creator"
	Creator_Tag.Value = player
	Debris:AddItem(Creator_Tag, 2)
	Creator_Tag.Parent = humanoid
end

function UntagHumanoid(humanoid)
	for i, v in pairs(humanoid:GetChildren()) do
		if v:IsA("ObjectValue") and v.Name == "creator" then
			v:Destroy()
		end
	end
end

function GetAllInstances(Parent)
	local Instances = {}
	local function GetInstances(Parent)
		for i, v in pairs(Parent:GetChildren()) do
			table.insert(Instances, v)
			GetInstances(v)
		end
	end
	GetInstances(Parent)
	return Instances
end

function DarkEffect()
	UntagHumanoid(Humanoid)
	if Creator and Creator.Value and Creator.Value:IsA("Player") then
		TagHumanoid(Humanoid, Creator.Value)
	end
	Humanoid.Health = 0
	Character:BreakJoints()

	local EffectedInstances = GetAllInstances(Character)
	local OriginalInstances = {}
	for i, v in pairs(EffectedInstances) do
		local Instance = { Object = v, Properties = {} }
		local PropertiesAltered = {}
		if v:IsA("Hat") or v:IsA("Tool") then
			for ii, vv in pairs(v:GetChildren()) do
				if vv:IsA("BasePart") then
					vv.Parent = v.Parent
				end
			end
			v:Destroy()
		elseif v:IsA("BasePart") then
			v.CanCollide = true
			v.Anchored = true
			Debris:AddItem(v, 10)
		end
		if v:IsA("BasePart") and v.Name == "HumanoidRootPart" then
		elseif v:IsA("Decal") and v.Name == "face" then
		elseif v:IsA("Clothing") then
			v:Destroy()
		else
			for ii, vv in pairs(DarkProperties.All) do
				pcall(function()
					Instance.Properties[ii] = v[ii]
					PropertiesAltered[ii] = true
					v[ii] = vv
				end)
			end
			for ii, vv in pairs(DarkProperties.Class) do
				if v:IsA(ii) then
					for iii, vvv in pairs(vv) do
						--if not PropertiesAltered[iii] then
						pcall(function()
							Instance.Properties[iii] = v[iii]
							v[iii] = vvv
						end)
						--end
					end
				end
			end
		end
		table.insert(OriginalInstances, Instance)
	end

	wait(0.25)

	for i, v in pairs(EffectedInstances) do
		if v:IsA("BasePart") then
			local BodyVelocity = Instance.new("BodyVelocity")
			BodyVelocity.velocity = (Vector3.new((math.random() - 0.5), 0, (math.random() - 0.5)).Unit * 80)
			BodyVelocity.maxForce = Vector3.new(100000, 100000, 100000)
			BodyVelocity.Parent = v
			v.Anchored = false
		end
	end
end

DarkEffect()

script:Destroy()
