New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

Add "control" (frame) to ScrollingFrame?

Asked by 3 months ago

I have a module in StarterPlayerScripts, and I want to be able to add a frame into it. If any of you know C#, kind of like a FlowLayoutPanel. I currently have this code:

        if not(_isAttachedFile) then
            local emailControl ="ServerStorage"):WaitForChild("emailControls"):WaitForChild("emailNoAttachment"):Clone())
            emailControl.Visible = true
            emailControl.Text = emailTitle
            emailControl.Parent = game:WaitForChild("StarterGui"):WaitForChild("mainUI"):WaitForChild("emailFrame"):WaitForChild("emailFrame"):WaitForChild("emailView"):WaitForChild("emailLists") 

Answer this question