Silent
Cannot be Normal Summoned/Set. Must be Special Summoned by "Silent Swordsman LV5", and cannot be Special Summoned by other ways. Negate all Spell effects on the field.
local CARD_ID_0 = 74388798 --Silent Swordsman LV5
local CARD_ID_1 = 1995985 --Silent Swordsman LV3

local CARD_ID_0 = 74388798 --Silent Swordsman LV5
local CARD_ID_1 = 1995985 --Silent Swordsman LV3
local s, id, o = GetID()
function s.initial_effect(c)
	c:EnableReviveLimit()
	--cannot special summon
	local e1 = Effect.CreateEffect(c)
	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
	e1:SetValue(aux.FALSE)
	c:RegisterEffect(e1)
	--disable
	local e2 = Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_FIELD)
	e2:SetCode(EFFECT_DISABLE)
	e2:SetRange(LOCATION_MZONE)
	e2:SetTargetRange(LOCATION_SZONE, LOCATION_SZONE)
	e2:SetTarget(s.distg)
	c:RegisterEffect(e2)
	--disable effect
	local e3 = Effect.CreateEffect(c)
	e3:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
	e3:SetCode(EVENT_CHAIN_SOLVING)
	e3:SetRange(LOCATION_MZONE)
	e3:SetOperation(s.disop)
	c:RegisterEffect(e3)
end
s.lvup = { CARD_ID_0 }
s.lvdn = { CARD_ID_1, CARD_ID_0 }
function s.distg(e, c)
	return c:IsType(TYPE_SPELL)
end
function s.disop(e, tp, eg, ep, ev, re, r, rp)
	local tl = Duel.GetChainInfo(ev, CHAININFO_TRIGGERING_LOCATION)
	if bit.band(tl, LOCATION_SZONE) ~= 0 and re:IsActiveType(TYPE_SPELL) then
		Duel.NegateEffect(ev)
	end
end


Silent
Cannot be Normal Summoned/Set. Must be Special Summoned by "Silent Swordsman LV5", and cannot be Special Summoned by other ways. Negate all Spell effects on the field.
-- Silent
local CARD_ID_0 = 74388798 --Silent Swordsman LV5
local CARD_ID_1 = 1995985 --Silent Swordsman LV3
local s, id, o = GetID()
function s.initial_effect(c)
	c:EnableReviveLimit()
	--cannot special summon
	local e1 = Effect.CreateEffect(c)
	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
	e1:SetValue(aux.FALSE)
	c:RegisterEffect(e1)
	--disable
	local e2 = Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_FIELD)
	e2:SetCode(EFFECT_DISABLE)
	e2:SetRange(LOCATION_MZONE)
	e2:SetTargetRange(LOCATION_SZONE, LOCATION_SZONE)
	e2:SetTarget(s.distg)
	c:RegisterEffect(e2)
	--disable effect
	local e3 = Effect.CreateEffect(c)
	e3:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
	e3:SetCode(EVENT_CHAIN_SOLVING)
	e3:SetRange(LOCATION_MZONE)
	e3:SetOperation(s.disop)
	c:RegisterEffect(e3)
end
s.lvup = { CARD_ID_0 }
s.lvdn = { CARD_ID_1, CARD_ID_0 }
function s.distg(e, c)
	return c:IsType(TYPE_SPELL)
end
function s.disop(e, tp, eg, ep, ev, re, r, rp)
	local tl = Duel.GetChainInfo(ev, CHAININFO_TRIGGERING_LOCATION)
	if bit.band(tl, LOCATION_SZONE) ~= 0 and re:IsActiveType(TYPE_SPELL) then
		Duel.NegateEffect(ev)
	end
end

