Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If there is a non-LIGHT monster on your side of the field, destroy this face-up card.
--雷電娘々
--Thunder Nyan Nyan
local s,id=GetID()
function s.initial_effect(c)
	--Destroy itself if you control a non-LIGHT monster
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetCode(EFFECT_SELF_DESTROY)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCondition(function(e) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsAttributeExcept,ATTRIBUTE_LIGHT),e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) end)
	c:RegisterEffect(e1)
end