So I was making a DataStoreScript that has 1 Module Script in it as a Child, and I added another Module Script in the DataStoreScript as another Child. And here is the DataStoreScript

require(script:WaitForChild('Money'))


But how do I make it wait for 2 children? I have tried everything I have thought of but it never works!

1 comment

0

I dont think you need to use waitforchild when requiring module scripts. If you have more than one module to require then through them in two difference variables. https://developer.roblox.com/en-us/api-reference/class/ModuleScript