I just need some help with creating a very basic scrolling frame using the CreateScrollingFrame() API from ROBLOX's GUI library. Yes, I'm choosing this method oppose to inserting a ScrollingFrame object. I find that it works faster, doesn't glitch, and overall looks more genuine. I can't find anything on the wiki that explains it decently, and I've had trouble figuring it out on my own.
So without making this a long complicated question, this is all I've tried so far:
local scroll_frame, scroll_up, scroll_down, scroll_func = rbxgui.CreateScrollingFrame() scroll_frame.Size = UDim2.new(1,0,1,0) scroll_down.Position = UDim2.new(1,-17,1,-17) scroll_up.Position = UDim2.new(1,-17,0,0) scroll_up.Parent = scroll_frame scroll_down.Parent = scroll_frame scroll_frame.Parent = chat_messages
My actual problem is i can't figure out how to get the scrolling to work. If anybody knows how to use this, or has any source i could study, i would very much appreciate that. Thank you.