In this project, I am going to show you how to use motorized nerf guns and water guns to make automated turrets that you can use to shoot your friends.
The gun is controlled with an infrared motion sensor and an Arduino microcontroller. The motion sensor detects when someone walks in front of the gun, and then the Arduino activates a relay that is connected to the trigger and fires the gun. You can set it up in a hall or in a doorway and it will shoot anyone who walks by. This is a fun way to prank your friends.