Complex sentence: Once he took a dislike of a certain member of the staff and built a guillotine-like contraption over his door luckily for the target, it went off too late.
Split into simpler sentences: Once he took a dislike of a certain member of the staff and built a guillotine-like contraption over his door. Luckily for the target, it went off too late.