Use getChildren() for frames that are only inserted when the game is played

so i have these frames in a folder in the player’s gui in a folder called questions, and new frames are inserted when the game is played. but when I use getchildren(), it only returns the frames that were there before the game started playing.

is there any way to get the frames while the client is running?

fixed by using wait(5) because the script was loading faster than the frames could be inserted