--This device is entirely open-source.


Light = script.Parent.Light
Scanner = script.Parent.Scanner
Host = script.Parent.Parent.Parent.Events.DoorOpen


function verify(card)
	if card == nil then
		return false
	else
		Host.BypassLevel.Value = true
		Host:Fire()
		Light.Color = Color3.new(0,1,0)
		wait(2)
		Light.Color = Color3.new(1,0,0)
	end
end
Scanner.Touched:Connect(verify)
