April Fool’s Day with electronics

One motion detector, one NPN transistor, one nine volt battery, one buzzer, one child (optional)