Menu gui buttons bugging when the screen resolution is smaller

Hello, ,m trying to to a gmod like game but the buttons and the scroll works normally but when the screen is smaller this happens

offset*


scale*

i want it to look like this on mobile too


and can you help me to make the buttons spawn the part/model to where is my camera actually looking(with distance) thanks!

Can you show how the gridlayout or UI listlayout looks in your UI? That is, it’s properties.

Sure! Sorry for delay.
image

No wonder it didn’t work…

You need to use a UIGridLayout Instance parented to the “ScrollingFrame”.

i tried to use ui grid layout but it didnt work or first time ima try it again

Thanks! It worked wery well. Can u help me with another problem too? (Not the gui thing)
EDIT: Nvm ima do it on another topic

Please mark my post as the solution then.

And sure, I can help you.

k this is the post: