I am working on a core facility game inspired by QSERF, and I am wanting the lights to turn off by dimming for the reactor startup. Everything works, except I want it to have a 3 second wait before disabling the lights to stop lag, since I am using the Future lighting technology. Whenever I add a wait(3) between the ends of my for i, v loop, It causes an error that makes zero sense, as I am not addressing the part shown in the dev panel in the script at all. This is the loop.
The v.Light.Pointlight.Enabled = false (yes i removed the wait(3) above the v.Pointlight.Enabled = false for testing purposes) should work. Instead, I get this error.
Light.Base is never addressed in this script, and therefore shouldn’t have that problem. So why is it doing that? The light model that I am using is right here:
(Inside of the light meshpart is the pointlight)
I don’t really understand if this is a bug or not, but if there is any solution, please help. Thanks
Looks like it expects the “Light” mesh to be inside the “base” part. Does that fix this error? May be wrong though, im just using my little knowledge
It’s fine, I have little knowledge about this too. I accidentally deleted the reply since my navigation skills suck. It doesn’t need to expect the base part, when the script does not expect that part at all, and there is no placement error in any of the light models. I think it’s a bug.
Also when I remove the v.Light.Pointlight.Enabled = false, I don’t get the error. So it’s not the tween, and it cannot be that line of code mainly since it uses the same exact address as in the above tweens. So really it might be a bug.