I’m making a function that references a folder and then a string determines which child it should go to. I tried using 2 full stops to concatenate them together, but I can’t tell if I did something wrong or if I can’t concatenate strings and referencing things (whatever they are called).
If you want to reference a child you know is present under an instance, you use [] syntax.
For example: game.Workspace.maps[loaded_map].Parent.
The . syntax is really just syntax sugar for [""] also. (game.Workspace == game["Workspace"]).
Also, since it was also mentioned as a solution. Prefer to use FindFirstChild only when you aren’t sure the instance will be there and you’ll be handling the case where it’s not separately.