If the chain parts are to be placed on a predefined path, you can make a variable which can count how many chain parts are placed,
if all 5 are placed correctly + its overlapping button + its overlapping bulb = Light the bulb
And if any of those 3 conditions are not true, it wont light up