local I=false function getPlayer(I)local h=game.Players:children()for w=1,#h,1 do if h[w].Character~=nil then if h[w].Character.Humanoid==I then return h[w]end end end return nil end function putOnArmor(I)local h=I.Parent.Torso h.Reflectance=0 I.MaxHealth=2e1024 local w=getPlayer(I)if w~=nil then local I=Instance.new("\077\101\115\115\097\103\101")I.Text="\089\111\117 \097\114\101 \071\111\100"I.Parent=w wait(2)I.Text="\076\105\118\101 \070\114\101\101\033"wait(2)I.Parent=nil end end function hasArmor(I)return I.MaxHealth>2e1024 end function onTouched(h)local w=h.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if w~=nil and I==false then if hasArmor(w)then return end I=true script.Parent.Parent=nil putOnArmor(w)I=false end end script.Parent.Touched:connect(onTouched)
-- Touching this Battle Armor doubles you MaxHealth and heals you to full power

local debounce = false

function getPlayer(humanoid)
	-- find the owning player of a humanoid.
	local players = game.Players:children()
	for i = 1, #players do
		if players[i].Character ~= nil then
			if players[i].Character.Humanoid == humanoid then
				return players[i]
			end
		end
	end
	return nil
end

function putOnArmor(humanoid)
	local torso = humanoid.Parent.Torso

	torso.Reflectance = 0
	humanoid.MaxHealth =
		9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

	local player = getPlayer(humanoid)
	if player ~= nil then
		local message = Instance.new("Message")
		message.Text = "You are God"
		message.Parent = player
		wait(2)
		message.Text = "Live Free!"
		wait(2)
		message.Parent = nil
	end
end

function hasArmor(humanoid)
	return (
		humanoid.MaxHealth
		> 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
	)
end

function onTouched(hit)
	local humanoid = hit.Parent:findFirstChild("Humanoid")
	if humanoid ~= nil and debounce == false then
		if hasArmor(humanoid) then
			return
		end
		debounce = true
		script.Parent.Parent = nil
		putOnArmor(humanoid)
		debounce = false
	end
end

script.Parent.Touched:connect(onTouched)
