1: Place two 1 x 1 plates on top of each other. Place a bigger brick beside it.
2: Name the one on the bottom "FireAlarm_Gearbox" and the bigger brick to the side "FireAlarm"
3: Wrench the one on top and input the following events:
0 - Delay: 0 > onActivate > self > fireRelayDown
1 - Delay: 0 > onActivate > self > setColor > (Yellow or Red)
2 - Delay: 0 > onActivate > FireAlarm_Gearbox > cancelEvents
3 - Delay: 0 > onActivate > FireAlarm > cancelEvents
4 - Delay: 0 > onActivate > self > setColor > (Black or Grey or Green or Blue or even White)
5 - Delay: 0 > onActivate > self > toggleEventsEnabled > 0 1 2 3
6 - Delay: 0 > onRelay > self > fireRelayDown
Uncheck Enabled for events 2, 3, and 4.
4: Wrench the brick under that one and input the following events:
0 - Delay: 33 > onRelay > FireAlarm > fireRelay (The 33 is automatic and irreversible as far as I know)
1 - Delay: 3977 > onRelay > self > fireRelayUp
5: Wrench the FireAlarm brick itself now, and input the following events:
0 - Delay: 0 > onRelay > self > playSound > Beep No
1 - Delay: 0 > onRelay > self > setLight > Bright
2 - Delay: 100 > onRelay> self > setLight > None
3 - Delay: 1000 > onRelay > self > playSound > Beep No
4 - Delay: 1000 > onRelay > self > setLight > Bright
5 - Delay: 1100 > onRelay > self > setLight > None
6 - Delay: 2000 > onRelay > self > playSound > Beep No
7 - Delay: 2000 > onRelay > self > setLight > Bright
8 - Delay: 2100 > onRelay > self > setLight > None
9 - Delay: 3000 > onRelay > self > setLight > Bright
10 - Delay: 3100 > onRelay > self > setLight > None
11 - Delay: 4000 > onRelay > self > fireRelayUp
6: Activate the top button. If it works, it should turn yellow, and the fire alarm brick should sound. Press the yellow brick again to toggle it off.
7: Give full credit to Remousamavi and in any time you're using this in the future, remember to--NAH just kidding
I got it from my school fire alarm LOL