SColor=script.Parent.Settings:FindFirstChild("\083\116\097\114\116\067\111\108\111\114")RColor=script.Parent.Settings:FindFirstChild("\082\101\103\101\110\067\111\108\111\114")RTime=script.Parent.Settings:FindFirstChild("\082\101\103\101\110\084\105\109\101")Weapon=script.Parent.Settings:FindFirstChild("\087\101\097\112\111\110\078\097\109\101")Center=script.Parent.ColoredParts:FindFirstChild("\084\111\117\099\104\077\101")deb=false Center.Touched:connect(function(c)if c.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")then if c.Parent.Humanoid.Health>0 then if game.Players:FindFirstChild(c.Parent.Name)then if game.ServerStorage:FindFirstChild(Weapon.Value)then if deb==false then deb=true for c,k in pairs(script.Parent.ColoredParts:GetChildren())do if k:IsA("\080\097\114\116")then k.BrickColor=RColor.Value end end local k=game.ServerStorage:FindFirstChild(Weapon.Value);(k:Clone()).Parent=(game.Players:FindFirstChild(c.Parent.Name)).Backpack wait(RTime.Value)deb=false for c,k in pairs(script.Parent.ColoredParts:GetChildren())do if k:IsA("\080\097\114\116")then k.BrickColor=SColor.Value end end end else print("\069\114\114\111\114\058 "..(Weapon.Value.." \110\111\116 \102\111\117\110\100 \105\110 \'\083\101\114\118\101\114\083\116\111\114\097\103\101\'\046"))end end end end end)

SColor = script.Parent.Settings:FindFirstChild("StartColor")
RColor = script.Parent.Settings:FindFirstChild("RegenColor")
RTime = script.Parent.Settings:FindFirstChild("RegenTime")
Weapon = script.Parent.Settings:FindFirstChild("WeaponName")
Center = script.Parent.ColoredParts:FindFirstChild("TouchMe")
deb = false


Center.Touched:connect(function(part)
	if part.Parent:FindFirstChild("Humanoid") then
		if part.Parent.Humanoid.Health > 0 then
			if game.Players:FindFirstChild(part.Parent.Name) then
				if game.ServerStorage:FindFirstChild(Weapon.Value) then
					if deb == false then
						deb = true
						for i,v in pairs (script.Parent.ColoredParts:GetChildren()) do
							if v:IsA("Part") then
								v.BrickColor = RColor.Value
							end
						end
						local wep = game.ServerStorage:FindFirstChild(Weapon.Value)
						wep:Clone().Parent = game.Players:FindFirstChild(part.Parent.Name).Backpack
						wait(RTime.Value)
						deb = false
						for i,v in pairs (script.Parent.ColoredParts:GetChildren()) do
							if v:IsA("Part") then
								v.BrickColor = SColor.Value
							end
						end
					end
				else
					print("Error: "..Weapon.Value.." not found in 'ServerStorage'.")
				end
			end
		end
	end
end)
