Humanoid=script.Parent Character=Humanoid.Parent Debris=game:GetService("\068\101\098\114\105\115")Creator=script:WaitForChild("\067\114\101\097\116\111\114")Health=Humanoid.Health IgnoreChange=false Colors={"\077\101\100\046 \121\101\108\108\111\119\105\115\104 \103\114\101\101\110";"\066\114\046 \121\101\108\108\111\119\105\115\104 \103\114\101\101\110","\077\101\100\105\117\109 \103\114\101\101\110";"\084\114\046 \071\114\101\101\110";"\070\097\100\101\100 \103\114\101\101\110";"\066\114\105\103\104\116 \103\114\101\101\110","\068\097\114\107 \103\114\101\101\110","\069\097\114\116\104 \103\114\101\101\110"}Parts={}function TagHumanoid(i,E)local J=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")J.Name="\099\114\101\097\116\111\114"J.Value=E Debris:AddItem(J,2)J.Parent=i end function UntagHumanoid(i)for i,E in pairs(i:GetChildren())do if E:IsA("\079\098\106\101\099\116\086\097\108\117\101")and E.Name=="\099\114\101\097\116\111\114"then E:Destroy()end end end Humanoid.Changed:connect(function(i)if i=="\072\101\097\108\116\104"then if Humanoid.Health<Health and not IgnoreChange then local i=Health-Humanoid.Health IgnoreChange=true UntagHumanoid(Humanoid)TagHumanoid(Humanoid,Creator.Value)Humanoid:TakeDamage(i)Health=Humanoid.Health IgnoreChange=false elseif Humanoid.Health>=Health then Health=Humanoid.Health end elseif i=="\074\117\109\112"then Humanoid.Jump=false end end)Humanoid.WalkSpeed=8.0 for i,E in pairs(Character:GetChildren())do if E:IsA("\066\097\115\101\080\097\114\116")then table.insert(Parts,{Part=E;BrickColor=E.BrickColor})end end for i,E in pairs(Colors)do for i,J in pairs(Parts)do if J.Part and J.Part.Parent then J.Part.BrickColor=BrickColor.new(E)end end wait(60/#Colors)end for i,E in pairs(Parts)do E.Part.BrickColor=E.BrickColor end Humanoid.WalkSpeed=16 script:Destroy()


Humanoid = script.Parent
Character = Humanoid.Parent

Debris = game:GetService("Debris")

Creator = script:WaitForChild("Creator")

Health = Humanoid.Health

IgnoreChange = false

Colors = {"Med. yellowish green", "Br. yellowish green", "Medium green", "Tr. Green", "Faded green", "Bright green", "Dark green", "Earth green"}

Parts = {}

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

Humanoid.Changed:connect(function(Property)
	if Property == "Health" then
		if Humanoid.Health < Health and not IgnoreChange then
			local HealthLost = (Health - Humanoid.Health)
			IgnoreChange = true
			UntagHumanoid(Humanoid)
			TagHumanoid(Humanoid, Creator.Value)
			Humanoid:TakeDamage(HealthLost)
			Health = Humanoid.Health
			IgnoreChange = false
		elseif Humanoid.Health >= Health then
			Health = Humanoid.Health
		end
	elseif Property == "Jump" then
		Humanoid.Jump = false
	end
end)

Humanoid.WalkSpeed = (16 / 2)

for i, v in pairs(Character:GetChildren()) do
	if v:IsA("BasePart") then
		table.insert(Parts, {Part = v, BrickColor = v.BrickColor})
	end
end

for i, v in pairs(Colors) do
	for ii, vv in pairs(Parts) do
		if vv.Part and vv.Part.Parent then
			vv.Part.BrickColor = BrickColor.new(v)
		end
	end
	wait(60 / #Colors)
end

for i, v in pairs(Parts) do
	v.Part.BrickColor = v.BrickColor
end

Humanoid.WalkSpeed = 16

script:Destroy()
