Press Space to Activate.
Thanks to @DudeWith_Shampoo227 for the original project Railroad Crossing (full setup). Credit to @davidthehvacguy for the train.