Alright, this works, however, this only works if there are 3 parts in the folder, how do I apply it so that it will load however many parts there are.
Ran into another error, if I run the setCam function a second time, it has the same error again.
You could just do > 1 instead of == 3, they shouldve all loaded by that time.
Hm, okay, I know this may be a pain, try putting
local camParts = game.Workspace:WaitForChild("CamParts")
into your setCam function,
Following this, if there is a minimum you want it to wait for, maybe put it to like >= 3
instead of == 3
so it requires at least 3 parts to be loaded.
Everything works, but doing > 1 means that only 2 parts load for whatever reason. So I am going to be forced with updating it everytime I add something new. Thankyou for all your help.
This is the weirdest bug I have every experienced. I also had the same issue with ChildAdded on another folder in a different game. Is it a studio bug?
You must have another script somewhere that you forget that’s messing with these parts or something. It’s very weird.
I’m not sure, it might be, I haven’t personally ran into any bugs like this myself
I can assure you that there is not.
Then it’s very very weird, maybe we’re both missing something so simple, but at least you have it working right now, it can be something to figure out at a later date.
I am experiencing the same issue while also trying to make a camera system, I have a camera folder and camera parts. I’m hoping a proper solution can be found since the current solution doesn’t feel right.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.