What I want to do is make it so where if I add another Infraction the gui gets taller so it can fit without the use of a scrolling frame to make it look nicer, and it positions itself back into the center how can I do this
With this the size of the frame would increase by the height of the gui this means going from 1 to 2 would be double the size, 2 to 3 would add another 1.5x and so on. Simily just take the increase by doing the current size / number of frames * new frame total. You would want to add a little bit of leway though
Just resize the gui frames and add in more, the autoscaling will do the rest if you use incremental rather than a set change. Ive already explained the scaling for you and the rest is easy as.