Galaxy-Eyes
3 Level 8 monsters
You can also Xyz Summon this card by using a "Galaxy-Eyes" Xyz Monster you control as material, except "Galaxy-Eyes Full Armor Photon Dragon". (Transfer its materials to this card.) Once per turn: You can target up to 2 Equip Cards equipped to this card; attach them to this card as material. Once per turn: You can detach 1 material from this card, then target 1 face-up card your opponent controls; destroy it.
local SETCARD_ID_0 = 0x107b --Galaxy-Eyes

local SETCARD_ID_0 = 0x107b --Galaxy-Eyes
local s, id, o = GetID()
function s.initial_effect(c)
	--xyz summon
	aux.AddXyzProcedure(c, nil, 8, 3, s.ovfilter, aux.Stringid(id, 0))
	c:EnableReviveLimit()
	--material
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 1))
	e1:SetType(EFFECT_TYPE_IGNITION)
	e1:SetRange(LOCATION_MZONE)
	e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e1:SetCountLimit(1)
	e1:SetCost(s.mtcost)
	e1:SetTarget(s.mttg)
	e1:SetOperation(s.mtop)
	c:RegisterEffect(e1)
	--destroy
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 2))
	e2:SetCategory(CATEGORY_DESTROY)
	e2:SetType(EFFECT_TYPE_IGNITION)
	e2:SetRange(LOCATION_MZONE)
	e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e2:SetCountLimit(1)
	e2:SetCost(s.descost)
	e2:SetTarget(s.destg)
	e2:SetOperation(s.desop)
	c:RegisterEffect(e2)
end
function s.ovfilter(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0) and c:IsType(TYPE_XYZ) and not c:IsCode(id)
end
function s.mtcost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.Hint(HINT_OPSELECTED, 1 - tp, e:GetDescription())
end
function s.mtfilter(c, e)
	return c:IsCanOverlay() and c:IsCanBeEffectTarget(e)
end
function s.mttg(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	local g = e:GetHandler():GetEquipGroup()
	if chkc then
		return g:IsContains(chkc) and s.mtfilter(chkc, e)
	end
	if chk == 0 then
		return e:GetHandler():IsType(TYPE_XYZ) and g:IsExists(s.mtfilter, 1, nil, e)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_XMATERIAL)
	local tg = g:FilterSelect(tp, s.mtfilter, 1, 2, nil, e)
	Duel.SetTargetCard(tg)
end
function s.matfilter(c, e)
	return c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and c:IsCanOverlay()
end
function s.mtop(e, tp, eg, ep, ev, re, r, rp)
	local c = e:GetHandler()
	if not c:IsRelateToEffect(e) or c:IsFacedown() then
		return
	end
	local g = Duel.GetChainInfo(0, CHAININFO_TARGET_CARDS):Filter(s.matfilter, nil, e)
	if g:GetCount() > 0 then
		Duel.Overlay(c, g)
	end
end
function s.descost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return e:GetHandler():CheckRemoveOverlayCard(tp, 1, REASON_COST)
	end
	e:GetHandler():RemoveOverlayCard(tp, 1, 1, REASON_COST)
	Duel.Hint(HINT_OPSELECTED, 1 - tp, e:GetDescription())
end
function s.desfilter(c)
	return c:IsFaceup()
end
function s.destg(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	if chkc then
		return chkc:IsOnField() and chkc:IsControler(1 - tp) and s.desfilter(chkc)
	end
	if chk == 0 then
		return Duel.IsExistingTarget(s.desfilter, tp, 0, LOCATION_ONFIELD, 1, nil)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_DESTROY)
	local g = Duel.SelectTarget(tp, s.desfilter, tp, 0, LOCATION_ONFIELD, 1, 1, nil)
	Duel.SetOperationInfo(0, CATEGORY_DESTROY, g, 1, 0, 0)
end
function s.desop(e, tp, eg, ep, ev, re, r, rp)
	local tc = Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		Duel.Destroy(tc, REASON_EFFECT)
	end
end


Galaxy-Eyes
3 Level 8 monsters
You can also Xyz Summon this card by using a "Galaxy-Eyes" Xyz Monster you control as material, except "Galaxy-Eyes Full Armor Photon Dragon". (Transfer its materials to this card.) Once per turn: You can target up to 2 Equip Cards equipped to this card; attach them to this card as material. Once per turn: You can detach 1 material from this card, then target 1 face-up card your opponent controls; destroy it.
-- Galaxy-Eyes
local SETCARD_ID_0 = 0x107b --Galaxy-Eyes
local s, id, o = GetID()
function s.initial_effect(c)
	--xyz summon
	aux.AddXyzProcedure(c, nil, 8, 3, s.ovfilter, aux.Stringid(id, 0))
	c:EnableReviveLimit()
	--material
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 1))
	e1:SetType(EFFECT_TYPE_IGNITION)
	e1:SetRange(LOCATION_MZONE)
	e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e1:SetCountLimit(1)
	e1:SetCost(s.mtcost)
	e1:SetTarget(s.mttg)
	e1:SetOperation(s.mtop)
	c:RegisterEffect(e1)
	--destroy
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 2))
	e2:SetCategory(CATEGORY_DESTROY)
	e2:SetType(EFFECT_TYPE_IGNITION)
	e2:SetRange(LOCATION_MZONE)
	e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e2:SetCountLimit(1)
	e2:SetCost(s.descost)
	e2:SetTarget(s.destg)
	e2:SetOperation(s.desop)
	c:RegisterEffect(e2)
end
function s.ovfilter(c)
	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0) and c:IsType(TYPE_XYZ) and not c:IsCode(id)
end
function s.mtcost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.Hint(HINT_OPSELECTED, 1 - tp, e:GetDescription())
end
function s.mtfilter(c, e)
	return c:IsCanOverlay() and c:IsCanBeEffectTarget(e)
end
function s.mttg(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	local g = e:GetHandler():GetEquipGroup()
	if chkc then
		return g:IsContains(chkc) and s.mtfilter(chkc, e)
	end
	if chk == 0 then
		return e:GetHandler():IsType(TYPE_XYZ) and g:IsExists(s.mtfilter, 1, nil, e)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_XMATERIAL)
	local tg = g:FilterSelect(tp, s.mtfilter, 1, 2, nil, e)
	Duel.SetTargetCard(tg)
end
function s.matfilter(c, e)
	return c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and c:IsCanOverlay()
end
function s.mtop(e, tp, eg, ep, ev, re, r, rp)
	local c = e:GetHandler()
	if not c:IsRelateToEffect(e) or c:IsFacedown() then
		return
	end
	local g = Duel.GetChainInfo(0, CHAININFO_TARGET_CARDS):Filter(s.matfilter, nil, e)
	if g:GetCount() > 0 then
		Duel.Overlay(c, g)
	end
end
function s.descost(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return e:GetHandler():CheckRemoveOverlayCard(tp, 1, REASON_COST)
	end
	e:GetHandler():RemoveOverlayCard(tp, 1, 1, REASON_COST)
	Duel.Hint(HINT_OPSELECTED, 1 - tp, e:GetDescription())
end
function s.desfilter(c)
	return c:IsFaceup()
end
function s.destg(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	if chkc then
		return chkc:IsOnField() and chkc:IsControler(1 - tp) and s.desfilter(chkc)
	end
	if chk == 0 then
		return Duel.IsExistingTarget(s.desfilter, tp, 0, LOCATION_ONFIELD, 1, nil)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_DESTROY)
	local g = Duel.SelectTarget(tp, s.desfilter, tp, 0, LOCATION_ONFIELD, 1, 1, nil)
	Duel.SetOperationInfo(0, CATEGORY_DESTROY, g, 1, 0, 0)
end
function s.desop(e, tp, eg, ep, ev, re, r, rp)
	local tc = Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) then
		Duel.Destroy(tc, REASON_EFFECT)
	end
end

