Hi, I need help with my framework, I’m making an FPS game, but that’s not really important considering my current predicament. To explain, I have a framework module, that is initialized, via LocalScript
and a regular Script
Client:
Server:
It then generates the default variables:
Next is makes a function to get all modules within a provided instance:
It loads the adapted module titles:
Then it enables all scripts:
My issue is that from a LocalScript
, located within “StarterPlayerScripts”:
It doesn’t ever loop through “StarterPlayerScripts”, as if it was never added to locationsToGetModules
If you have any idea as of to why this could be happening, please tell me why
I’ve narrowed down the issue:
Turns out when i loop through the table of services, it doesn’t loop though them all
(the top table in the image is printed right before the loop, but the lower is print inside the loop)
bg9
(bg9)
August 9, 2024, 4:38am
#3
So it’s not printing anything inside of the l:GetDescendants()
?
I think it has something to do with the SetupModules
function, ill look through it real quick
What you see printed is from ReplicatedStorage, im going to try and remove rps from the table
yup, removing rps fixed it, im going to try and make it the last on loaded, i think that will fix it
system
(system)
Closed
August 23, 2024, 4:48am
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.