Problem with ligh in libload

Hello! I’ve made a libLoad script and works corretly, except by the spot ligth(lantern). The light don’t work, but work, is confuse. Imagine the player and the light and I add a plane, when the scenario load the scene of the player(using libload) the light only works on the plane where’s the .blend of the player, and not on the scenario. Thanks for the help.