Someone robbed a store using a gun from Duck Hunt

Current Events

But it has a power cord attached to it. How can someone be fooled by that gun?